Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.486/2.486, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001259/0.001259, allocations: 179.3 kB / 498.1 MB, free: 5.75 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.5/1.5, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.000994/0.000994, allocations: 95.28 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003421, allocations: 6.938 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2851, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1857/0.4709, allocations: 148.3 MB / 1.368 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/0.4712, allocations: 75.88 kB / 1.368 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004298/0.4716, allocations: 376.9 kB / 1.368 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4716, allocations: 0 / 1.368 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.4716, allocations: 0 / 1.368 GB, free: 13.27 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.0002352/0.4719, allocations: 307.4 kB / 1.368 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.4719, allocations: 8.031 kB / 1.368 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.472, allocations: 4 kB / 1.368 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.4721, allocations: 167 kB / 1.369 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.4721, allocations: 0 / 1.369 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.4721, allocations: 8 kB / 1.369 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.773e-05/0.4722, allocations: 29.64 kB / 1.369 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.4722, allocations: 0 / 1.369 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.4722, allocations: 0 / 1.369 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.4723, allocations: 0 / 1.369 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.024e-05/0.4723, allocations: 4 kB / 1.369 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.4726, allocations: 379.5 kB / 1.369 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.895e-05/0.4727, allocations: 183.8 kB / 1.369 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.4727, allocations: 75.28 kB / 1.369 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.4727, allocations: 105.8 kB / 1.369 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.247e-05/0.4728, allocations: 0 / 1.369 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.489e-05/0.4728, allocations: 33.55 kB / 1.369 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.4729, allocations: 130.7 kB / 1.37 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.656e-05/0.473, allocations: 96.98 kB / 1.37 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.473, allocations: 25.7 kB / 1.37 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.4731, allocations: 80.14 kB / 1.37 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.4731, allocations: 0 / 1.37 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-07/0.4731, allocations: 4 kB / 1.37 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.4732, allocations: 314.8 kB / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.199e-06/0.4732, allocations: 0 / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-06/0.4732, allocations: 8.062 kB / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.958e-05/0.4733, allocations: 75.28 kB / 1.37 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.072e-05/0.4733, allocations: 75.28 kB / 1.37 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.41e-05/0.4734, allocations: 29.7 kB / 1.37 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/0.4734, allocations: 79.28 kB / 1.37 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/0.4734, allocations: 75.28 kB / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.858e-05/0.4735, allocations: 158.5 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.786e-05/0.4735, allocations: 87.28 kB / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.018e-05/0.4736, allocations: 154.5 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.801e-05/0.4737, allocations: 75.28 kB / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.4737, allocations: 75.28 kB / 1.371 GB, free: 10.26 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 (0): * Single equations (assignments): 0 * 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 0.0001109/0.4738, allocations: 268.3 kB / 1.371 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.4739, allocations: 101.6 kB / 1.371 GB, free: 9.879 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.67e-05/0.4739, allocations: 123.8 kB / 1.371 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.266e-05/0.474, allocations: 188.2 kB / 1.372 GB, free: 9.559 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.595e-05/0.4741, allocations: 176.3 kB / 1.372 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.905e-05/0.4741, allocations: 180.2 kB / 1.372 GB, free: 9.195 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.4744, allocations: 409.2 kB / 1.372 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-05/0.4744, allocations: 105 kB / 1.372 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.897e-05/0.4745, allocations: 104.9 kB / 1.372 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-05/0.4745, allocations: 176.3 kB / 1.373 GB, free: 8.34 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-05/0.4746, allocations: 188.2 kB / 1.373 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.815e-05/0.4746, allocations: 176.3 kB / 1.373 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.804e-05/0.4747, allocations: 176.3 kB / 1.373 GB, free: 7.789 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.4748, allocations: 312.5 kB / 1.373 GB, free: 7.461 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.697e-05/0.4749, allocations: 186 kB / 1.374 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.468e-05/0.475, allocations: 184.2 kB / 1.374 GB, free: 7.066 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.4751, allocations: 105 kB / 1.374 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.4751, allocations: 192.2 kB / 1.374 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/0.4752, allocations: 101 kB / 1.374 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.514e-05/0.4752, allocations: 83.27 kB / 1.374 GB, free: 6.574 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4752, allocations: 0 / 1.374 GB, free: 6.574 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002571/0.4755, allocations: 0 / 1.374 GB, free: 6.574 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 (0): * Single equations (assignments): 0 * 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.0001409/0.4756, allocations: 178.3 kB / 1.374 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 3.92e-05/0.4757, allocations: 12.52 kB / 1.374 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.4757, allocations: 0 / 1.374 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.4757, allocations: 0 / 1.374 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.476, allocations: 0.5239 MB / 1.375 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002343/0.4762, allocations: 150 kB / 1.375 GB, free: 5.676 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.4766, allocations: 0.677 MB / 1.376 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.949e-06/0.4766, allocations: 0 / 1.376 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.005e-05/0.4766, allocations: 7.438 kB / 1.376 GB, free: 4.965 MB / 0.8698 GB Notification: Performance of SimCode: time 5.91e-07/0.4766, allocations: 0 / 1.376 GB, free: 4.965 MB / 0.8698 GB Notification: Performance of Templates: time 0.002278/0.4789, allocations: 156.2 kB / 1.376 GB, free: 4.812 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches