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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001565, allocations: 111 kB / 15.99 MB, free: 6.344 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.001705/0.001705, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.556/1.556, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 390.2 MB / 0.665 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 62.67 kB / 0.8127 GB, free: 33.24 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2762, allocations: 140.4 MB / 0.9498 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002353/0.2786, allocations: 0.9298 MB / 0.9507 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.2798, allocations: 0.8779 MB / 0.9515 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.125e-05/0.2799, allocations: 0 / 0.9515 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.246e-05/0.28, allocations: 3.938 kB / 0.9515 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.2802, allocations: 19.84 kB / 0.9516 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.2804, allocations: 27.98 kB / 0.9516 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.2805, allocations: 111.6 kB / 0.9517 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.2807, allocations: 49.08 kB / 0.9517 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.2808, allocations: 47.83 kB / 0.9518 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.281, allocations: 47.77 kB / 0.9518 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.281, allocations: 12 kB / 0.9518 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.228e-05/0.281, allocations: 12 kB / 0.9519 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/0.2811, allocations: 19.92 kB / 0.9519 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.441e-05/0.2812, allocations: 51.72 kB / 0.9519 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.2813, allocations: 96.03 kB / 0.952 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2813, allocations: 4 kB / 0.952 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2813, allocations: 0 / 0.952 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.2813, allocations: 0 / 0.952 GB, free: 6.949 MB / 0.7325 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.000941/0.2823, allocations: 466.8 kB / 0.9525 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.2823, allocations: 8.031 kB / 0.9525 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.2824, allocations: 12.84 kB / 0.9525 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.2826, allocations: 192.1 kB / 0.9527 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.2826, allocations: 4.375 kB / 0.9527 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.2826, allocations: 12.38 kB / 0.9527 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.2829, allocations: 99.83 kB / 0.9528 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2829, allocations: 192 / 0.9528 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.2829, allocations: 3.938 kB / 0.9528 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.2829, allocations: 4 kB / 0.9528 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.2831, allocations: 71.89 kB / 0.9529 GB, free: 6 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007523/0.2839, allocations: 400.5 kB / 0.9532 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.284, allocations: 62.55 kB / 0.9533 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.753e-05/0.2841, allocations: 32.97 kB / 0.9533 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.2842, allocations: 0 / 0.9533 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.2842, allocations: 34.56 kB / 0.9534 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.011e-06/0.2842, allocations: 0 / 0.9534 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0003597/0.2846, allocations: 117.5 kB / 0.9535 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.2846, allocations: 51.41 kB / 0.9535 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.2848, allocations: 156.7 kB / 0.9537 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.2848, allocations: 29.69 kB / 0.9537 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.2849, allocations: 108 kB / 0.9538 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.2849, allocations: 15.8 kB / 0.9538 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.2849, allocations: 21.72 kB / 0.9538 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2851, allocations: 322.8 kB / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.124e-05/0.2852, allocations: 27.98 kB / 0.9542 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.593e-05/0.2853, allocations: 31.92 kB / 0.9542 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.2854, allocations: 48.83 kB / 0.9543 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2854, allocations: 0 / 0.9543 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002125/0.2856, allocations: 97.5 kB / 0.9543 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2856, allocations: 8 kB / 0.9544 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2857, allocations: 0 / 0.9544 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2857, allocations: 0 / 0.9544 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.2858, allocations: 15.98 kB / 0.9544 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2858, allocations: 3.938 kB / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.286, allocations: 27.91 kB / 0.9544 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.286, allocations: 4 kB / 0.9544 GB, free: 4.285 MB / 0.7325 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.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.675e-05/0.2861, allocations: 119.6 kB / 0.9545 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.2861, allocations: 15.89 kB / 0.9545 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.2862, allocations: 16.3 kB / 0.9545 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2862, allocations: 0 / 0.9545 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.2862, allocations: 3.938 kB / 0.9546 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.2862, allocations: 7.938 kB / 0.9546 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.2864, allocations: 205.5 kB / 0.9548 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2864, allocations: 0 / 0.9548 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.136e-05/0.2865, allocations: 19.92 kB / 0.9548 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2865, allocations: 0 / 0.9548 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.2865, allocations: 0 / 0.9548 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2865, allocations: 256 / 0.9548 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2866, allocations: 3.938 kB / 0.9548 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.2868, allocations: 187.4 kB / 0.955 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.2869, allocations: 81.02 kB / 0.955 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.2869, allocations: 8 kB / 0.955 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.2871, allocations: 19.97 kB / 0.9551 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.2872, allocations: 19.92 kB / 0.9551 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.2872, allocations: 3.984 kB / 0.9551 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.604e-05/0.2873, allocations: 113.3 kB / 0.9552 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2873, allocations: 4 kB / 0.9552 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002301/0.2875, allocations: 12 kB / 0.9552 GB, free: 3.379 MB / 0.7325 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) * Number of clocked states: 0 () * 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 (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.0001232/0.2876, allocations: 111.2 kB / 0.9553 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.2879, allocations: 59.97 kB / 0.9554 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.2879, allocations: 0 / 0.9554 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.576e-05/0.288, allocations: 39.86 kB / 0.9554 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.2883, allocations: 15.98 kB / 0.9554 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.2888, allocations: 245.4 kB / 0.9557 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.2891, allocations: 0.7041 MB / 0.9563 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.342e-05/0.2891, allocations: 11.44 kB / 0.9564 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of SimCode: time 6.31e-07/0.2891, allocations: 0 / 0.9564 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of Templates: time 0.002925/0.2921, allocations: 1.295 MB / 0.9576 GB, free: 0.8438 MB / 0.7325 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches