Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002098/0.002098, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002599/0.002599, allocations: 212.3 kB / 22.24 MB, free: 4.855 MB / 14.72 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 1.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.818/2.818, allocations: 475.9 MB / 0.7699 GB, free: 4.785 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 69.16 kB / 1.117 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3375, allocations: 169.9 MB / 1.283 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002449/0.34, allocations: 0.8882 MB / 1.284 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.3414, allocations: 0.9224 MB / 1.285 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.447e-05/0.3415, allocations: 7.938 kB / 1.285 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.712e-05/0.3416, allocations: 7.875 kB / 1.285 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.3417, allocations: 23.78 kB / 1.285 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.342, allocations: 51.89 kB / 1.285 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.3422, allocations: 127.7 kB / 1.285 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.3424, allocations: 33.7 kB / 1.285 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.3426, allocations: 55.78 kB / 1.285 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.3427, allocations: 59.69 kB / 1.285 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.3428, allocations: 12 kB / 1.285 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.117e-05/0.3428, allocations: 16 kB / 1.285 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.598e-05/0.3429, allocations: 23.92 kB / 1.285 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.079e-05/0.3429, allocations: 47.72 kB / 1.285 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.3432, allocations: 163.3 kB / 1.285 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3432, allocations: 0 / 1.285 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3432, allocations: 4 kB / 1.285 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3432, allocations: 0 / 1.285 GB, free: 1.281 MB / 0.9825 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.0007062/0.3439, allocations: 361.7 kB / 1.286 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3439, allocations: 12.03 kB / 1.286 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002667/0.3442, allocations: 28.83 kB / 1.286 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.3445, allocations: 159 kB / 1.286 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.3446, allocations: 8.375 kB / 1.286 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.3446, allocations: 16.12 kB / 1.286 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.3448, allocations: 97.64 kB / 1.286 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3448, allocations: 0 / 1.286 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.3449, allocations: 4 kB / 1.286 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.3449, allocations: 4 kB / 1.286 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.3451, allocations: 71.91 kB / 1.286 GB, free: 488 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006114/0.3457, allocations: 320.2 kB / 1.286 GB, free: 136 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.346, allocations: 74.61 kB / 1.286 GB, free: 52 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.3461, allocations: 40.84 kB / 1.287 GB, free: 8 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3461, allocations: 3.984 kB / 1.287 GB, free: 4 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.3461, allocations: 34.56 kB / 1.287 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.3461, allocations: 0 / 1.287 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004113/0.3466, allocations: 130.1 kB / 1.287 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.3466, allocations: 55.34 kB / 1.287 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.3467, allocations: 144.8 kB / 1.287 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.3468, allocations: 25.7 kB / 1.287 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.751e-05/0.3469, allocations: 120 kB / 1.287 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.3469, allocations: 27.78 kB / 1.287 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.3469, allocations: 25.72 kB / 1.287 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3471, allocations: 318.8 kB / 1.287 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.735e-05/0.3472, allocations: 35.97 kB / 1.287 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.3473, allocations: 109.9 kB / 1.288 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.3475, allocations: 56.77 kB / 1.288 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3475, allocations: 3.938 kB / 1.288 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002444/0.3477, allocations: 109.5 kB / 1.288 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3478, allocations: 10.03 kB / 1.288 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3478, allocations: 0 / 1.288 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3478, allocations: 4.031 kB / 1.288 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.427e-05/0.3479, allocations: 19.92 kB / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3479, allocations: 0 / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.066e-05/0.348, allocations: 11.98 kB / 1.288 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.348, allocations: 0 / 1.288 GB, free: 14.7 MB / 0.9981 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 0.000106/0.3481, allocations: 121.8 kB / 1.288 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.3481, allocations: 15.84 kB / 1.288 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.197e-05/0.3482, allocations: 16.72 kB / 1.288 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3482, allocations: 3.984 kB / 1.288 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3482, allocations: 7.984 kB / 1.288 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3482, allocations: 0 / 1.288 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.3484, allocations: 137.3 kB / 1.288 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3484, allocations: 0 / 1.288 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.905e-05/0.3484, allocations: 11.98 kB / 1.288 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3485, allocations: 4.219 kB / 1.288 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.3485, allocations: 0 / 1.288 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3485, allocations: 7.938 kB / 1.288 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3485, allocations: 3.938 kB / 1.288 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.3488, allocations: 199.4 kB / 1.288 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.3488, allocations: 7.953 kB / 1.288 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.3488, allocations: 7.938 kB / 1.288 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.3489, allocations: 7.984 kB / 1.288 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.349, allocations: 15.97 kB / 1.288 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.349, allocations: 4 kB / 1.288 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.666e-05/0.3491, allocations: 110.1 kB / 1.288 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3491, allocations: 0 / 1.288 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002469/0.3493, allocations: 23.89 kB / 1.288 GB, free: 13.95 MB / 0.9981 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 0.0001272/0.3494, allocations: 103.2 kB / 1.288 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002731/0.3497, allocations: 71.89 kB / 1.289 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3497, allocations: 0 / 1.289 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.3498, allocations: 39.92 kB / 1.289 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.3501, allocations: 7.938 kB / 1.289 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005/0.3506, allocations: 224 kB / 1.289 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.325e-05/0.3507, allocations: 97.05 kB / 1.289 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.91e-05/0.3508, allocations: 7.984 kB / 1.289 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.723e-05/0.3508, allocations: 11.44 kB / 1.289 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.3508, allocations: 4 kB / 1.289 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of Templates: time 0.004313/0.3552, allocations: 1.2 MB / 1.29 GB, free: 12.16 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.5782337076962]