Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.001305/0.001305, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001428/0.001428, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.503/1.503, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.046/3.046, allocations: 0.49 GB / 0.7923 GB, free: 1.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [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.002077/0.002077, allocations: 63.89 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179/1.181, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001938/1.183, allocations: 0.819 MB / 1.323 GB, free: 24.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001236/1.184, allocations: 1.192 MB / 1.324 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/1.184, allocations: 4 kB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.301e-05/1.184, allocations: 7.875 kB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.492e-05/1.184, allocations: 17.64 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/1.185, allocations: 144 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/1.185, allocations: 142 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/1.185, allocations: 24.08 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.839e-05/1.185, allocations: 55.25 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.912e-05/1.185, allocations: 58.42 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/1.185, allocations: 19.12 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.128e-05/1.185, allocations: 33.16 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.419e-05/1.185, allocations: 24.94 kB / 1.324 GB, free: 23.42 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.702e-05/1.186, allocations: 50.67 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/1.186, allocations: 149 kB / 1.325 GB, free: 23.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/1.186, allocations: 0 / 1.325 GB, free: 23.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/1.186, allocations: 0 / 1.325 GB, free: 23.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.241e-05/1.186, allocations: 3.328 kB / 1.325 GB, free: 23.34 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000565/1.186, allocations: 442.5 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/1.186, allocations: 12.2 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/1.186, allocations: 13.05 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/1.187, allocations: 178.9 kB / 1.325 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/1.187, allocations: 6.406 kB / 1.325 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/1.187, allocations: 16 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/1.187, allocations: 83.52 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/1.187, allocations: 192 / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/1.187, allocations: 10.69 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/1.187, allocations: 4 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/1.187, allocations: 61.44 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/1.187, allocations: 373.4 kB / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/1.188, allocations: 48.72 kB / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.294e-05/1.188, allocations: 34.48 kB / 1.326 GB, free: 22.24 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/1.188, allocations: 3.938 kB / 1.326 GB, free: 22.24 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/1.188, allocations: 83.55 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/1.188, allocations: 0 / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0004058/1.188, allocations: 130 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/1.188, allocations: 51.41 kB / 1.326 GB, free: 22.06 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.98e-05/1.188, allocations: 128.4 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/1.188, allocations: 39.08 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/1.189, allocations: 98.47 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/1.189, allocations: 18.56 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-05/1.189, allocations: 41.88 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.316e-05/1.189, allocations: 310.8 kB / 1.327 GB, free: 21.46 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/1.189, allocations: 59.02 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/1.189, allocations: 77.61 kB / 1.327 GB, free: 21.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/1.189, allocations: 119.4 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.189, allocations: 0 / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000365/1.19, allocations: 188.7 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/1.19, allocations: 37.56 kB / 1.327 GB, free: 21.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/1.19, allocations: 0 / 1.327 GB, free: 21.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/1.19, allocations: 2.812 kB / 1.327 GB, free: 21.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.3e-05/1.19, allocations: 12.84 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/1.19, allocations: 4.062 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/1.19, allocations: 43.84 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/1.19, allocations: 5.5 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 7.562e-05/1.19, allocations: 127.9 kB / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/1.19, allocations: 6.516 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/1.19, allocations: 18.27 kB / 1.327 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.19, allocations: 4 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/1.19, allocations: 3.938 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.19, allocations: 3.938 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/1.19, allocations: 187.7 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.19, allocations: 96 / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-05/1.19, allocations: 12.83 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.19, allocations: 0 / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/1.19, allocations: 6.359 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.19, allocations: 4 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.19, allocations: 0 / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/1.19, allocations: 126.9 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/1.191, allocations: 82.64 kB / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/1.191, allocations: 9.031 kB / 1.328 GB, free: 20.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/1.191, allocations: 8.547 kB / 1.328 GB, free: 20.61 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/1.191, allocations: 12.5 kB / 1.328 GB, free: 20.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/1.191, allocations: 6.375 kB / 1.328 GB, free: 20.61 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.261e-05/1.191, allocations: 99.38 kB / 1.328 GB, free: 20.52 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.191, allocations: 0.5312 kB / 1.328 GB, free: 20.52 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002368/1.191, allocations: 26.2 kB / 1.328 GB, free: 20.52 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001527/1.191, allocations: 109.8 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003946/1.192, allocations: 152.3 kB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.192, allocations: 8.062 kB / 1.328 GB, free: 20.33 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/1.192, allocations: 31.7 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/1.192, allocations: 12.8 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/1.192, allocations: 216.7 kB / 1.328 GB, free: 20.13 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/1.192, allocations: 0.6968 MB / 1.329 GB, free: 19.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/1.192, allocations: 11.97 kB / 1.329 GB, free: 19.43 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.192, allocations: 0 / 1.329 GB, free: 19.43 MB / 1.061 GB Notification: Performance of Templates: time 0.003807/1.196, allocations: 1.353 MB / 1.33 GB, free: 19.3 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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: 12.206278989004204]