Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002271/0.002271, allocations: 194 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.806/2.806, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002493, allocations: 67.89 kB / 0.8693 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7859/0.7884, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002322/0.7908, allocations: 0.6109 MB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.792, allocations: 0.7845 MB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.347e-05/0.792, allocations: 0 / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.168e-05/0.7921, allocations: 0 / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.543e-05/0.7922, allocations: 3.938 kB / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.751e-05/0.7922, allocations: 7.984 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.511e-05/0.7923, allocations: 15.94 kB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.101e-05/0.7924, allocations: 4 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.54e-05/0.7925, allocations: 11.98 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.443e-05/0.7925, allocations: 11.92 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.7925, allocations: 0 / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-06/0.7926, allocations: 0 / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.7926, allocations: 4 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.7926, allocations: 11.92 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.377e-05/0.7927, allocations: 11.98 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.7927, allocations: 0 / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7927, allocations: 0 / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.7927, allocations: 0 / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000557/0.7933, allocations: 340.8 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.7933, allocations: 8.031 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.7934, allocations: 0.9375 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.7936, allocations: 174.2 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.7936, allocations: 384 / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.7936, allocations: 384 / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.7938, allocations: 46.19 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.7938, allocations: 4.188 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.7938, allocations: 3.938 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.7938, allocations: 4 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.794, allocations: 27.95 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.7942, allocations: 149.7 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.7943, allocations: 34.59 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.942e-05/0.7944, allocations: 24.84 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.7944, allocations: 0 / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/0.7945, allocations: 38.5 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.7945, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0003486/0.7949, allocations: 77.58 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.7949, allocations: 55.53 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.466e-05/0.795, allocations: 97.84 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.7951, allocations: 29.7 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.7951, allocations: 84.14 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.7951, allocations: 3.938 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.7952, allocations: 9.719 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.7954, allocations: 310.8 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.41e-05/0.7954, allocations: 19.98 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.032e-05/0.7955, allocations: 19.97 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.7957, allocations: 36.77 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7957, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001858/0.7959, allocations: 65.72 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.7959, allocations: 4 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.7959, allocations: 3.938 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.7959, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.87e-05/0.796, allocations: 4 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.7961, allocations: 4 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.7961, allocations: 3.984 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.7961, allocations: 4 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.771e-05/0.7962, allocations: 105.9 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.659e-06/0.7962, allocations: 7.906 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.7963, allocations: 11.06 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.7963, allocations: 7.984 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.7963, allocations: 0 / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.7963, allocations: 0 / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.7965, allocations: 149.8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.7965, allocations: 8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.136e-05/0.7965, allocations: 7.984 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.7965, allocations: 3.984 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.7965, allocations: 3.938 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.7966, allocations: 4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.7966, allocations: 3.938 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.7968, allocations: 81.11 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.134e-05/0.7969, allocations: 85.09 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.7969, allocations: 3.938 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.522e-05/0.797, allocations: 8.031 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.797, allocations: 3.984 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.797, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.658e-05/0.7971, allocations: 79.28 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7971, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001748/0.7973, allocations: 8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001497/0.7974, allocations: 99.19 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.7977, allocations: 39.95 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7977, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.464e-05/0.7978, allocations: 11.98 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.798, allocations: 11.88 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/0.7983, allocations: 99.19 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.7987, allocations: 0.673 MB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.572e-05/0.7987, allocations: 7.906 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.7987, allocations: 7.438 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.7987, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of Templates: time 0.002815/0.8015, allocations: 411 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches