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.001722/0.001722, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.002147/0.002147, allocations: 217.4 kB / 23.04 MB, free: 4.844 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.253/3.253, allocations: 0.49 GB / 0.7959 GB, free: 35.32 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.002108/0.002108, allocations: 68.41 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4175, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002268/0.4198, allocations: 0.8057 MB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.4215, allocations: 1.171 MB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.473e-05/0.4216, allocations: 4 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.727e-05/0.4216, allocations: 11.81 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.45e-05/0.4217, allocations: 15.86 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.4222, allocations: 142.2 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000219/0.4224, allocations: 147.8 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.4225, allocations: 19.98 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.4227, allocations: 63.83 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.4228, allocations: 47.75 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.4228, allocations: 16 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.388e-05/0.4229, allocations: 31.92 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.439e-05/0.4229, allocations: 19.92 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.867e-05/0.423, allocations: 43.84 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.4232, allocations: 151.5 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.4232, allocations: 0 / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4232, allocations: 0 / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.4233, allocations: 4 kB / 1.33 GB, free: 14.26 MB / 1.029 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.0006828/0.4239, allocations: 359.7 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.424, allocations: 8.031 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.424, allocations: 12.89 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.4242, allocations: 126.3 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.4242, allocations: 12.36 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.4242, allocations: 8.375 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.4245, allocations: 85.72 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4245, allocations: 4.188 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.4245, allocations: 3.938 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.4245, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.4247, allocations: 59.94 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000557/0.4253, allocations: 296.2 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.4254, allocations: 50.55 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.4255, allocations: 32.94 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.4256, allocations: 3.938 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002605/0.4258, allocations: 83.36 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.4258, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004265/0.4262, allocations: 125.6 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.4263, allocations: 55.41 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.4264, allocations: 121.8 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.4264, allocations: 37.64 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.4265, allocations: 100 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.4265, allocations: 19.86 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.062e-05/0.4266, allocations: 37.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4268, allocations: 322.8 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.427, allocations: 77.92 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.4272, allocations: 138.7 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.4274, allocations: 128.2 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.4274, allocations: 0 / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004519/0.4279, allocations: 220.9 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.4279, allocations: 37.69 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4279, allocations: 0 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.428, allocations: 4 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/0.4281, allocations: 16.05 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4281, allocations: 3.938 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.4283, allocations: 39.91 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.4283, allocations: 15.92 kB / 1.332 GB, free: 11.42 MB / 1.029 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 0.0001143/0.4284, allocations: 122.4 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.4284, allocations: 7.953 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.4285, allocations: 12.38 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4285, allocations: 4 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4285, allocations: 3.938 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4285, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.4286, allocations: 129.2 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.4286, allocations: 0 / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.492e-05/0.4287, allocations: 11.98 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.4287, allocations: 0 / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.4287, allocations: 0 / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4287, allocations: 0 / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.4287, allocations: 4 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.429, allocations: 129 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.429, allocations: 4.125 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.429, allocations: 4 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.479e-05/0.4291, allocations: 11.98 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.4291, allocations: 15.97 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.4291, allocations: 0 / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.4292, allocations: 99.2 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4292, allocations: 0 / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002208/0.4294, allocations: 27.89 kB / 1.333 GB, free: 10.79 MB / 1.029 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.0001619/0.4296, allocations: 111.2 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004099/0.43, allocations: 189.2 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.43, allocations: 3.938 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.4301, allocations: 31.97 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.4303, allocations: 21.56 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.4308, allocations: 200.8 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.605e-05/0.4309, allocations: 80.98 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.4309, allocations: 11.44 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of SimCode: time 7.22e-07/0.4309, allocations: 0 / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of Templates: time 0.003369/0.4343, allocations: 1.385 MB / 1.335 GB, free: 8.699 MB / 1.029 GB " [Timeout remaining time 300] 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: 11.514445825014263]