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.001543/0.001543, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001724/0.001724, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.194/3.194, allocations: 0.49 GB / 0.7958 GB, free: 33.48 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.002945/0.002945, allocations: 79.2 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4145, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002302/0.4168, allocations: 0.8094 MB / 1.328 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001747/0.4185, allocations: 1.202 MB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.4186, allocations: 4 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.852e-05/0.4186, allocations: 3.938 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.848e-05/0.4187, allocations: 7.875 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.4192, allocations: 151.1 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.4195, allocations: 151.7 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.4196, allocations: 23.98 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.4197, allocations: 63.88 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.4199, allocations: 51.81 kB / 1.33 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.4199, allocations: 16 kB / 1.33 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.11e-05/0.42, allocations: 24 kB / 1.33 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.515e-05/0.42, allocations: 15.92 kB / 1.33 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.066e-05/0.4201, allocations: 63.77 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.4203, allocations: 151.4 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4203, allocations: 4 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4203, allocations: 3.938 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.4204, allocations: 4 kB / 1.33 GB, free: 14.75 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.0006757/0.421, allocations: 351.7 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.4211, allocations: 12.03 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.664e-05/0.4211, allocations: 8.891 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.4213, allocations: 126.4 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.4213, allocations: 8.375 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.4213, allocations: 8.375 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.4215, allocations: 86.2 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.4216, allocations: 8.172 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.4216, allocations: 7.938 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4216, allocations: 3.938 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/0.4218, allocations: 59.95 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005956/0.4224, allocations: 351.6 kB / 1.331 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.4226, allocations: 50.55 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.739e-05/0.4227, allocations: 28.94 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.4227, allocations: 0 / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002642/0.4229, allocations: 87.36 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.4229, allocations: 0 / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004347/0.4234, allocations: 125.5 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.4234, allocations: 55.41 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.4235, allocations: 129.8 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.4236, allocations: 25.7 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.236e-05/0.4237, allocations: 104 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.4237, allocations: 19.86 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-05/0.4238, allocations: 37.7 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4239, allocations: 322.8 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.4241, allocations: 47.97 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.4242, allocations: 79.39 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.4245, allocations: 120.2 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4245, allocations: 0 / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004206/0.4249, allocations: 199.3 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/0.4249, allocations: 37.77 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4249, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.425, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.197e-05/0.4251, allocations: 11.98 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4251, allocations: 3.938 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.4253, allocations: 51.78 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.4253, allocations: 4.094 kB / 1.332 GB, free: 12 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.0001249/0.4254, allocations: 134.1 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.4254, allocations: 7.953 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/0.4255, allocations: 8.375 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4255, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4255, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.4255, allocations: 3.938 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.4257, allocations: 160.7 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4257, allocations: 4 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.715e-05/0.4257, allocations: 7.984 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4257, allocations: 4 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.4257, allocations: 320 / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4257, allocations: 4 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4257, allocations: 4 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.426, allocations: 128.9 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.426, allocations: 0 / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.426, allocations: 4 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.541e-05/0.4261, allocations: 15.98 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.4262, allocations: 11.92 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.4262, allocations: 7.984 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.35e-05/0.4262, allocations: 91.28 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4262, allocations: 0 / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002335/0.4265, allocations: 35.88 kB / 1.333 GB, free: 11.3 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.000164/0.4266, allocations: 103.2 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003696/0.427, allocations: 159.4 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.427, allocations: 0 / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.4271, allocations: 31.98 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.4273, allocations: 15.98 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.4278, allocations: 208.9 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.4281, allocations: 0.6977 MB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.4281, allocations: 19.38 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4281, allocations: 0 / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of Templates: time 0.003402/0.4315, allocations: 1.363 MB / 1.335 GB, free: 8.656 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.659920573991258]