Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 183.2 kB / 498.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.2 MB / 0.7948 GB, free: 17.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008708/0.0008708, allocations: 98.45 kB / 0.9346 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005301/0.0005299, allocations: 10.22 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3414, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1989/0.5404, allocations: 148.7 MB / 1.368 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/0.5408, allocations: 67.95 kB / 1.368 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001352/0.5422, allocations: 0.5289 MB / 1.369 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.807e-06/0.5422, allocations: 0 / 1.369 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.5422, allocations: 0 / 1.369 GB, free: 12.75 MB / 0.8698 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.0004006/0.5426, allocations: 331.3 kB / 1.369 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.5427, allocations: 12.03 kB / 1.369 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.5427, allocations: 7.906 kB / 1.369 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.5429, allocations: 163 kB / 1.369 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.5429, allocations: 0 / 1.369 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.543, allocations: 0 / 1.369 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.5432, allocations: 57.61 kB / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.5432, allocations: 0 / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.5433, allocations: 4 kB / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.5433, allocations: 0 / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.5434, allocations: 35.97 kB / 1.369 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/0.5437, allocations: 153.6 kB / 1.369 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.5438, allocations: 49.31 kB / 1.369 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.5438, allocations: 0 / 1.369 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.5438, allocations: 42.44 kB / 1.369 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.5438, allocations: 0 / 1.369 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0003394/0.5442, allocations: 89.72 kB / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.5442, allocations: 51.41 kB / 1.37 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.43e-05/0.5443, allocations: 101 kB / 1.37 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.5444, allocations: 25.83 kB / 1.37 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.5444, allocations: 84.14 kB / 1.37 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.5444, allocations: 3.906 kB / 1.37 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.5444, allocations: 0 / 1.37 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5446, allocations: 318.8 kB / 1.37 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.975e-05/0.5447, allocations: 19.97 kB / 1.37 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.582e-05/0.5448, allocations: 23.98 kB / 1.37 GB, free: 11 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.889e-05/0.5449, allocations: 23.88 kB / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5449, allocations: 4 kB / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001843/0.5451, allocations: 77.66 kB / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.5451, allocations: 5.562 kB / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5451, allocations: 0 / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.5451, allocations: 0 / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.568e-05/0.5452, allocations: 8 kB / 1.37 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.5452, allocations: 3.984 kB / 1.37 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.5453, allocations: 16.02 kB / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.5453, allocations: 0 / 1.37 GB, free: 10.86 MB / 0.8698 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 9.858e-05/0.5454, allocations: 109.8 kB / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.308e-06/0.5454, allocations: 4 kB / 1.37 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.5455, allocations: 11.11 kB / 1.37 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.5455, allocations: 0 / 1.37 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.5455, allocations: 0 / 1.37 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5455, allocations: 0 / 1.37 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.5456, allocations: 153.7 kB / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5456, allocations: 7.953 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.872e-05/0.5457, allocations: 11.98 kB / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.5457, allocations: 0 / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.5457, allocations: 0 / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.5457, allocations: 3.938 kB / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5457, allocations: 0 / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.5459, allocations: 97.11 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.546, allocations: 85.05 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.546, allocations: 0 / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.676e-05/0.5461, allocations: 8 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.5461, allocations: 8.016 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.5461, allocations: 0 / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.5461, allocations: 79.28 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5462, allocations: 3.938 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001566/0.5463, allocations: 4 kB / 1.371 GB, free: 10.19 MB / 0.8698 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.0001397/0.5465, allocations: 99.03 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.5467, allocations: 51.89 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5467, allocations: 0 / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.853e-05/0.5468, allocations: 23.98 kB / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.5469, allocations: 0 / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.5472, allocations: 109 kB / 1.371 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.5474, allocations: 0.677 MB / 1.372 GB, free: 9.168 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.296e-05/0.5475, allocations: 0 / 1.372 GB, free: 9.168 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.5475, allocations: 11.44 kB / 1.372 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of SimCode: time 3.11e-07/0.5475, allocations: 0 / 1.372 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of Templates: time 0.002074/0.5496, allocations: 312.6 kB / 1.372 GB, free: 8.852 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches