Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008828/0.0008828, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009884/0.0009884, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9931/0.9931, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.356/2.356, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.933e-05, allocations: 7.078 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002/0.00202, allocations: 0.9079 MB / 0.8395 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.003211, allocations: 0.952 MB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.143e-05/0.003263, allocations: 0 / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.003294, allocations: 11.86 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.175e-05/0.003376, allocations: 19.75 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.003555, allocations: 55.81 kB / 0.8405 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.003663, allocations: 127.6 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.243e-05/0.003755, allocations: 38.34 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.003907, allocations: 87.8 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.003978, allocations: 43.88 kB / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.003999, allocations: 12 kB / 0.8408 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.624e-05/0.004035, allocations: 12 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.004055, allocations: 23.92 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.004083, allocations: 39.84 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.004196, allocations: 87.64 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.004197, allocations: 0 / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.51e-07/0.004198, allocations: 0 / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.004201, allocations: 0 / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003476/0.004549, allocations: 320.3 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.004581, allocations: 20.56 kB / 0.8413 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.004711, allocations: 36.89 kB / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.004821, allocations: 134.1 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.004832, allocations: 8.375 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.004846, allocations: 12.38 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.004965, allocations: 88.97 kB / 0.8415 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.00497, allocations: 192 / 0.8415 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.004983, allocations: 3.938 kB / 0.8415 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.004988, allocations: 4 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.431e-05/0.005022, allocations: 23.92 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/0.005293, allocations: 236 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.005396, allocations: 42.55 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.489e-05/0.005421, allocations: 24.84 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.005431, allocations: 0 / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.005448, allocations: 30.56 kB / 0.8419 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 5.91e-07/0.005449, allocations: 0 / 0.8419 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001099/0.005559, allocations: 61.61 kB / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.005584, allocations: 59.41 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.207e-05/0.005656, allocations: 158 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.005672, allocations: 25.7 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.005712, allocations: 111.9 kB / 0.8423 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.005733, allocations: 23.77 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.005761, allocations: 21.72 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.611e-05/0.005837, allocations: 326.8 kB / 0.8426 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.005855, allocations: 4 kB / 0.8426 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.547e-05/0.00587, allocations: 11.98 kB / 0.8426 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.681e-05/0.005907, allocations: 28.78 kB / 0.8427 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005909, allocations: 4 kB / 0.8427 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 5.916e-05/0.005968, allocations: 57.67 kB / 0.8427 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.976e-06/0.005977, allocations: 4 kB / 0.8427 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-06/0.00598, allocations: 0 / 0.8427 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.707e-06/0.005989, allocations: 4 kB / 0.8427 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.993e-05/0.006028, allocations: 7.938 kB / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.006034, allocations: 7.938 kB / 0.8427 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.675e-05/0.006061, allocations: 3.984 kB / 0.8427 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.006066, allocations: 7.938 kB / 0.8428 GB, free: 9.785 MB / 0.8073 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 (9): * Single equations (assignments): 9 * 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 5.619e-05/0.006122, allocations: 117.8 kB / 0.8429 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.006138, allocations: 7.984 kB / 0.8429 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.867e-05/0.006157, allocations: 12.78 kB / 0.8429 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.006158, allocations: 4 kB / 0.8429 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.00616, allocations: 3.984 kB / 0.8429 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006163, allocations: 3.938 kB / 0.8429 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.603e-05/0.006259, allocations: 97.8 kB / 0.843 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.00626, allocations: 0 / 0.843 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/0.006282, allocations: 12 kB / 0.843 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.006284, allocations: 3.938 kB / 0.843 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.006291, allocations: 7.984 kB / 0.843 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.006292, allocations: 4 kB / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006292, allocations: 0 / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.873e-05/0.006371, allocations: 151.5 kB / 0.8432 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.00638, allocations: 7.953 kB / 0.8432 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.006397, allocations: 4 kB / 0.8432 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.769e-05/0.006435, allocations: 4 kB / 0.8432 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.006471, allocations: 15.97 kB / 0.8432 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-06/0.006478, allocations: 7.984 kB / 0.8432 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.224e-05/0.0065, allocations: 30.64 kB / 0.8432 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.1e-08/0.0065, allocations: 0 / 0.8432 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001242/0.006624, allocations: 31.89 kB / 0.8433 GB, free: 9.227 MB / 0.8073 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 (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 Backend phase and start with SimCode phase: time 6.7e-05/0.006691, allocations: 80.36 kB / 0.8433 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.347e-05/0.006765, allocations: 32.84 kB / 0.8434 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.006768, allocations: 4 kB / 0.8434 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.617e-05/0.006794, allocations: 24.78 kB / 0.8434 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.006919, allocations: 14.91 kB / 0.8434 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000433/0.007353, allocations: 228.5 kB / 0.8436 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.399e-05/0.007387, allocations: 67.28 kB / 0.8437 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.094e-05/0.007417, allocations: 8 kB / 0.8437 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.362e-05/0.007471, allocations: 59.36 kB / 0.8438 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of SimCode: time 4.31e-07/0.007472, allocations: 0 / 0.8438 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of Templates: time 0.002341/0.009813, allocations: 1.12 MB / 0.8449 GB, free: 7.551 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.016694873105735]