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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008696/0.0008697, allocations: 91.14 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008652/0.0008652, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.793/2.793, allocations: 437.7 MB / 0.7117 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005838/0.0005842, allocations: 12 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7708/0.7714, allocations: 153.8 MB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.0009025/0.7723, allocations: 337 kB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009366/0.7733, allocations: 0.7807 MB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.474e-05/0.7734, allocations: 4 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.7734, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.16e-05/0.7735, allocations: 3.938 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.974e-05/0.7735, allocations: 4 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.681e-05/0.7736, allocations: 15.98 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.209e-05/0.7736, allocations: 0 / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.973e-05/0.7737, allocations: 7.938 kB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.748e-05/0.7738, allocations: 7.984 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.7738, allocations: 0 / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.402e-06/0.7738, allocations: 4 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.7738, allocations: 4 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.7739, allocations: 29.64 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.436e-05/0.7739, allocations: 11.97 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.7739, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.941e-06/0.774, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.774, allocations: 3.938 kB / 1.024 GB, free: 14.84 MB / 0.7794 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.0004714/0.7744, allocations: 332.9 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.7745, allocations: 12.03 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.7745, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.7747, allocations: 173 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.7747, allocations: 0 / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.7747, allocations: 0 / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.7749, allocations: 53.58 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.7749, allocations: 0 / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.7749, allocations: 4 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.7749, allocations: 4 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.7751, allocations: 39.89 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.7753, allocations: 153.7 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.7754, allocations: 38.59 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.542e-05/0.7755, allocations: 24.91 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.7755, allocations: 0 / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.7755, allocations: 34.52 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.7755, allocations: 4 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0003057/0.7758, allocations: 93.58 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.7759, allocations: 59.53 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.817e-05/0.776, allocations: 101.8 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.776, allocations: 25.7 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/0.776, allocations: 84.14 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.7761, allocations: 3.906 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.7761, allocations: 0 / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.7762, allocations: 314.8 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.829e-05/0.7763, allocations: 23.98 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.277e-05/0.7763, allocations: 19.97 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.3e-05/0.7764, allocations: 19.98 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7764, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001744/0.7766, allocations: 73.67 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.7766, allocations: 4 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.7767, allocations: 7.938 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.7767, allocations: 4 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.923e-05/0.7768, allocations: 8.031 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.7768, allocations: 0 / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.483e-05/0.7768, allocations: 15.92 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.7768, allocations: 0 / 1.025 GB, free: 12.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.015e-05/0.7769, allocations: 113.8 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-06/0.7769, allocations: 4 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.726e-05/0.777, allocations: 3.125 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.777, allocations: 7.953 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.777, allocations: 0 / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.777, allocations: 3.984 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.7771, allocations: 153.7 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.7771, allocations: 4 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.175e-05/0.7772, allocations: 8 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7772, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.7772, allocations: 3.984 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7772, allocations: 3.938 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7772, allocations: 7.938 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.7774, allocations: 101 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.7775, allocations: 81.09 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.7775, allocations: 4.031 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.051e-05/0.7775, allocations: 8 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.7776, allocations: 7.938 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.7776, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.751e-05/0.7776, allocations: 83.28 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7776, allocations: 0 / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001787/0.7778, allocations: 4 kB / 1.026 GB, free: 12.24 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001258/0.7779, allocations: 99.25 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.7781, allocations: 43.95 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7781, allocations: 0 / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.501e-05/0.7782, allocations: 27.98 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.7785, allocations: 5.188 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.7788, allocations: 100.6 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.779, allocations: 0.6731 MB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.372e-05/0.7791, allocations: 0 / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.7791, allocations: 7.438 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7791, allocations: 4.062 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of Templates: time 0.002349/0.7814, allocations: 323.1 kB / 1.027 GB, free: 10.91 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=480 -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