Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 387.1 MB / 399.7 MB, free: 9.43 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.001169/0.001169, allocations: 184.9 kB / 492.3 MB, free: 0.5977 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.593/1.593, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009049/0.000905, allocations: 93.73 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.196e-05/3.198e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3189, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.379, allocations: 149.9 MB / 1.359 GB, free: 18.94 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/1.379, allocations: 88.44 kB / 1.359 GB, free: 18.94 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005735/1.385, allocations: 1.771 MB / 1.361 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.683e-06/1.385, allocations: 4 kB / 1.361 GB, free: 34.54 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.346e-06/1.385, allocations: 7.781 kB / 1.361 GB, free: 34.54 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005525/1.386, allocations: 424.7 kB / 1.361 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.386, allocations: 11.41 kB / 1.361 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/1.386, allocations: 15.58 kB / 1.361 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/1.386, allocations: 175.8 kB / 1.361 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/1.386, allocations: 6.969 kB / 1.361 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/1.386, allocations: 7.406 kB / 1.361 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/1.386, allocations: 86.33 kB / 1.361 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/1.386, allocations: 0 / 1.361 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/1.386, allocations: 0 / 1.361 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/1.386, allocations: 7.812 kB / 1.361 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.529e-05/1.386, allocations: 49.84 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006952/1.387, allocations: 419.8 kB / 1.362 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.816e-05/1.387, allocations: 56.61 kB / 1.362 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/1.387, allocations: 23.3 kB / 1.362 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/1.387, allocations: 0 / 1.362 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/1.387, allocations: 30.56 kB / 1.362 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/1.387, allocations: 0 / 1.362 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0001831/1.387, allocations: 73.3 kB / 1.362 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/1.387, allocations: 51.41 kB / 1.362 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/1.387, allocations: 143.8 kB / 1.362 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/1.387, allocations: 29.58 kB / 1.362 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/1.387, allocations: 105 kB / 1.362 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/1.387, allocations: 13.2 kB / 1.362 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/1.388, allocations: 3.938 kB / 1.362 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.008e-05/1.388, allocations: 322.8 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-05/1.388, allocations: 15.94 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-05/1.388, allocations: 19.3 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.472e-05/1.388, allocations: 24.77 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.388, allocations: 4 kB / 1.363 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001124/1.388, allocations: 86.05 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/1.388, allocations: 3.812 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/1.388, allocations: 0 / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/1.388, allocations: 0 / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.658e-05/1.388, allocations: 10.78 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/1.388, allocations: 3.875 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/1.388, allocations: 31.67 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/1.388, allocations: 1.688 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.006e-05/1.388, allocations: 112.7 kB / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/1.388, allocations: 9.203 kB / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/1.388, allocations: 16.22 kB / 1.363 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/1.388, allocations: 0 / 1.363 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/1.388, allocations: 7.938 kB / 1.363 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/1.388, allocations: 1.688 kB / 1.363 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/1.389, allocations: 197.5 kB / 1.363 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.389, allocations: 3.953 kB / 1.363 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.147e-05/1.389, allocations: 11.86 kB / 1.363 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/1.389, allocations: 0 / 1.363 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/1.389, allocations: 3.938 kB / 1.363 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/1.389, allocations: 1.031 kB / 1.363 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.389, allocations: 0 / 1.363 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/1.389, allocations: 176.8 kB / 1.363 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/1.389, allocations: 90.08 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/1.389, allocations: 3.875 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/1.389, allocations: 35.7 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.571e-05/1.389, allocations: 15.17 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/1.389, allocations: 3.844 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.597e-05/1.389, allocations: 109.8 kB / 1.364 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.389, allocations: 3.844 kB / 1.364 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002124/1.389, allocations: 18.94 kB / 1.364 GB, free: 32.21 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001289/1.39, allocations: 97.38 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001307/1.39, allocations: 53.95 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/1.39, allocations: 4 kB / 1.364 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.714e-05/1.39, allocations: 25.34 kB / 1.364 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/1.39, allocations: 10.36 kB / 1.364 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/1.39, allocations: 115.3 kB / 1.364 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/1.391, allocations: 0.7039 MB / 1.365 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.579e-05/1.391, allocations: 17.5 kB / 1.365 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/1.391, allocations: 12.5 kB / 1.365 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/1.391, allocations: 0 / 1.365 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of Templates: time 0.003592/1.394, allocations: 1.079 MB / 1.366 GB, free: 31.23 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches