Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001966/0.001966, allocations: 79.67 kB / 19.18 MB, free: 2.52 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.002552/0.002552, allocations: 165.5 kB / 22.46 MB, free: 5.375 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.661/1.661, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.68/2.68, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_11_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_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.81e-05, allocations: 2.281 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002083/0.002111, allocations: 0.8027 MB / 0.9517 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.003879, allocations: 1.171 MB / 0.9529 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.964e-05/0.003949, allocations: 4 kB / 0.9529 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.234e-05/0.003981, allocations: 11.81 kB / 0.9529 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.996e-05/0.004071, allocations: 19.84 kB / 0.9529 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.004575, allocations: 146.2 kB / 0.9531 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.004788, allocations: 147.7 kB / 0.9532 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.004927, allocations: 27.97 kB / 0.9532 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.005072, allocations: 83.86 kB / 0.9533 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.005187, allocations: 47.8 kB / 0.9534 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.005226, allocations: 16 kB / 0.9534 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.478e-05/0.0053, allocations: 24 kB / 0.9534 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/0.00533, allocations: 15.98 kB / 0.9534 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.005402, allocations: 43.89 kB / 0.9535 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.005666, allocations: 171.5 kB / 0.9536 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.005669, allocations: 0 / 0.9536 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/0.00567, allocations: 4 kB / 0.9536 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.005675, allocations: 0 / 0.9536 GB, free: 8.852 MB / 0.8575 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.0006618/0.006336, allocations: 355.7 kB / 0.954 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.006374, allocations: 12.03 kB / 0.954 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.006431, allocations: 12.83 kB / 0.954 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.006552, allocations: 125.7 kB / 0.9541 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.00657, allocations: 4.375 kB / 0.9541 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.006598, allocations: 12.38 kB / 0.9541 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.006849, allocations: 78.22 kB / 0.9542 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.00686, allocations: 8.125 kB / 0.9542 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.006879, allocations: 12.36 kB / 0.9542 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.006884, allocations: 384 / 0.9542 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.007107, allocations: 63.39 kB / 0.9543 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005247/0.007632, allocations: 296.3 kB / 0.9546 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.007803, allocations: 46.55 kB / 0.9546 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.007907, allocations: 32.94 kB / 0.9546 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.007922, allocations: 0 / 0.9546 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002576/0.00818, allocations: 83.36 kB / 0.9547 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.008181, allocations: 0 / 0.9547 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004625/0.008644, allocations: 129.5 kB / 0.9548 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.008707, allocations: 51.41 kB / 0.9549 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.008823, allocations: 137.7 kB / 0.955 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.008858, allocations: 29.7 kB / 0.955 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.008929, allocations: 96.09 kB / 0.9551 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.00895, allocations: 15.89 kB / 0.9552 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.237e-05/0.009033, allocations: 37.7 kB / 0.9552 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.009173, allocations: 322.8 kB / 0.9555 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.009365, allocations: 81.67 kB / 0.9556 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.009591, allocations: 142.7 kB / 0.9557 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.009862, allocations: 124.2 kB / 0.9558 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.009864, allocations: 0 / 0.9558 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004814/0.01035, allocations: 220.9 kB / 0.956 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.01039, allocations: 37.7 kB / 0.9561 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.01039, allocations: 4.25 kB / 0.9561 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.01041, allocations: 0 / 0.9561 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.729e-05/0.01051, allocations: 23.98 kB / 0.9561 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.01051, allocations: 0 / 0.9561 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.01075, allocations: 35.95 kB / 0.9561 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.01077, allocations: 11.98 kB / 0.9561 GB, free: 6.02 MB / 0.8575 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.0001111/0.01088, allocations: 125.7 kB / 0.9563 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.0109, allocations: 7.953 kB / 0.9563 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.01093, allocations: 8.438 kB / 0.9563 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.01093, allocations: 4 kB / 0.9563 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.01094, allocations: 4 kB / 0.9563 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01094, allocations: 0 / 0.9563 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.01106, allocations: 125.2 kB / 0.9564 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.01106, allocations: 0 / 0.9564 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.01114, allocations: 7.984 kB / 0.9564 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.01114, allocations: 4 kB / 0.9564 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.01115, allocations: 4 kB / 0.9564 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.01115, allocations: 0 / 0.9564 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.01116, allocations: 3.984 kB / 0.9564 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.01145, allocations: 132.9 kB / 0.9566 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.799e-06/0.01146, allocations: 4 kB / 0.9566 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.01148, allocations: 4 kB / 0.9566 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.01156, allocations: 7.984 kB / 0.9566 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.01161, allocations: 15.97 kB / 0.9566 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.088e-06/0.01162, allocations: 4 kB / 0.9566 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.348e-05/0.01168, allocations: 91.27 kB / 0.9567 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.01168, allocations: 0 / 0.9567 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002313/0.01192, allocations: 27.95 kB / 0.9567 GB, free: 5.391 MB / 0.8575 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.000157/0.01207, allocations: 111.1 kB / 0.9568 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004436/0.01252, allocations: 189 kB / 0.957 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01252, allocations: 0 / 0.957 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.01265, allocations: 31.97 kB / 0.957 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.01286, allocations: 36.33 kB / 0.9571 GB, free: 5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.01325, allocations: 173.2 kB / 0.9572 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.623e-05/0.01332, allocations: 71.33 kB / 0.9573 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.847e-05/0.01335, allocations: 4 kB / 0.9573 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.01339, allocations: 16.48 kB / 0.9573 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.01339, allocations: 0 / 0.9573 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of Templates: time 0.004873/0.01826, allocations: 1.774 MB / 0.959 GB, free: 2.961 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.85091932490468]