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.001409/0.001409, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001535/0.001535, allocations: 221 kB / 23 MB, free: 4.918 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.779/2.779, allocations: 476 MB / 0.7707 GB, free: 4.73 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.002119/0.002119, allocations: 68.59 kB / 1.118 GB, free: 41.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3426, allocations: 170 MB / 1.284 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002181/0.3448, allocations: 0.8823 MB / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.346, allocations: 0.9151 MB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.202e-05/0.3461, allocations: 0 / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.174e-05/0.3462, allocations: 23.73 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.3463, allocations: 15.81 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.3465, allocations: 51.94 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00017/0.3467, allocations: 127.6 kB / 1.286 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.3468, allocations: 33.72 kB / 1.286 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.347, allocations: 59.77 kB / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.865e-05/0.3471, allocations: 47.7 kB / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.3471, allocations: 12 kB / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.78e-05/0.3472, allocations: 20 kB / 1.286 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.3472, allocations: 27.91 kB / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.654e-05/0.3473, allocations: 51.73 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.3475, allocations: 163.3 kB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3475, allocations: 0 / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3475, allocations: 0 / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.3475, allocations: 0 / 1.286 GB, free: 9.48 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.0006317/0.3482, allocations: 357.8 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3482, allocations: 8.031 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/0.3485, allocations: 40.81 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.3488, allocations: 161.1 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.3488, allocations: 8.375 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.3488, allocations: 16.12 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.349, allocations: 103.3 kB / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3491, allocations: 0 / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.3491, allocations: 8 kB / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3491, allocations: 0 / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.3493, allocations: 75.84 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000558/0.3498, allocations: 312.2 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.3501, allocations: 78.66 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3502, allocations: 37 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.3502, allocations: 0 / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.3503, allocations: 42.48 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.3503, allocations: 0 / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004295/0.3507, allocations: 125.7 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.3507, allocations: 55.41 kB / 1.288 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.3509, allocations: 140.8 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.3509, allocations: 33.7 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.752e-05/0.351, allocations: 112 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.351, allocations: 27.73 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.3511, allocations: 25.7 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3512, allocations: 322.8 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.3513, allocations: 35.98 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.3515, allocations: 109.8 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.3516, allocations: 60.83 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3516, allocations: 0 / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002344/0.3519, allocations: 105.5 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3519, allocations: 4 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3519, allocations: 0 / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3519, allocations: 12.02 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.265e-05/0.352, allocations: 8 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.352, allocations: 0 / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.735e-05/0.3521, allocations: 11.98 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.3521, allocations: 4 kB / 1.288 GB, free: 6.902 MB / 0.9825 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.0001186/0.3522, allocations: 125.8 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.3522, allocations: 19.83 kB / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.3523, allocations: 12.7 kB / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3523, allocations: 0 / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3523, allocations: 8 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3523, allocations: 0 / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.3525, allocations: 145.3 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3525, allocations: 0 / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.3526, allocations: 11.98 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.3526, allocations: 3.938 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.3526, allocations: 4.281 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3526, allocations: 0 / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3526, allocations: 0 / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.3529, allocations: 199.3 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.3529, allocations: 7.953 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.3529, allocations: 11.94 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.353, allocations: 7.984 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/0.3531, allocations: 15.97 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.3531, allocations: 7.984 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.055e-05/0.3532, allocations: 107.3 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3532, allocations: 0 / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000241/0.3534, allocations: 27.83 kB / 1.289 GB, free: 6.141 MB / 0.9825 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.0001249/0.3536, allocations: 103.2 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.3538, allocations: 71.89 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3538, allocations: 0 / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.3539, allocations: 31.97 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.3542, allocations: 15.92 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.3547, allocations: 241.8 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.461e-05/0.3548, allocations: 105 kB / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.3549, allocations: 15.44 kB / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3549, allocations: 0 / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of Templates: time 0.003161/0.358, allocations: 1.378 MB / 1.291 GB, free: 4.137 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.101647810079157]