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.00186/0.00186, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002424/0.002424, allocations: 209.2 kB / 22.99 MB, free: 4.984 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.612/1.612, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.139/3.139, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] 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.002069/0.002069, allocations: 62.09 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3018, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002128/0.3039, allocations: 0.8045 MB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.3055, allocations: 1.178 MB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.3056, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.368e-05/0.3056, allocations: 7.875 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.907e-05/0.3057, allocations: 11.86 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004905/0.3062, allocations: 148.9 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.3064, allocations: 139.8 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3065, allocations: 27.97 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.3066, allocations: 55.84 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.3068, allocations: 59.8 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.3068, allocations: 16 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.87e-05/0.3069, allocations: 27.98 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.82e-05/0.3069, allocations: 19.92 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.307, allocations: 47.83 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.3072, allocations: 155.4 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.3072, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3072, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.3072, allocations: 4 kB / 1.33 GB, free: 14.29 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.0006345/0.3078, allocations: 359.7 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.3078, allocations: 11.97 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.438e-05/0.3079, allocations: 16.88 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.966e-05/0.308, allocations: 114.4 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.308, allocations: 4.375 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.3081, allocations: 16.38 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.3083, allocations: 90.14 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.3083, allocations: 192 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3083, allocations: 3.938 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.3083, allocations: 7.984 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.3085, allocations: 51.95 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005258/0.3091, allocations: 300.2 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.3092, allocations: 54.55 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.3093, allocations: 28.94 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.3094, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002287/0.3096, allocations: 87.3 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3096, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004344/0.31, allocations: 133.6 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.3101, allocations: 51.41 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.3102, allocations: 121.8 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.3102, allocations: 33.7 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.3103, allocations: 100 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.3103, allocations: 15.89 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.974e-05/0.3104, allocations: 33.7 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3105, allocations: 322.8 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.3107, allocations: 81.66 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.3109, allocations: 142.7 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.3112, allocations: 112.2 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3112, allocations: 4 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004664/0.3117, allocations: 232.8 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.3117, allocations: 29.8 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3117, allocations: 4 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3117, allocations: 7.938 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.733e-05/0.3118, allocations: 7.984 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3118, allocations: 4.312 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.312, allocations: 39.91 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.3121, allocations: 19.92 kB / 1.332 GB, free: 11.46 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.0001165/0.3122, allocations: 122.4 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.3122, allocations: 3.953 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.209e-05/0.3123, allocations: 12.47 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3123, allocations: 3.938 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3123, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3123, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.3124, allocations: 133.2 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3124, allocations: 0 / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.356e-05/0.3124, allocations: 11.92 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3125, allocations: 0 / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.3125, allocations: 0 / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.3125, allocations: 8 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3125, allocations: 0 / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.3127, allocations: 125 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.3128, allocations: 4 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.3128, allocations: 4 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/0.3128, allocations: 11.98 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.3129, allocations: 11.97 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.3129, allocations: 4 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.204e-05/0.313, allocations: 103.6 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.313, allocations: 0 / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002381/0.3132, allocations: 27.89 kB / 1.333 GB, free: 10.82 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.0001397/0.3133, allocations: 115.1 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004135/0.3138, allocations: 181.2 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3138, allocations: 3.938 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.3139, allocations: 36.05 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.3141, allocations: 19.98 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003814/0.3145, allocations: 175.1 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.878e-05/0.3145, allocations: 75.33 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.655e-05/0.3146, allocations: 7.984 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.3146, allocations: 15.44 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3146, allocations: 0 / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of Templates: time 0.004905/0.3195, allocations: 1.848 MB / 1.335 GB, free: 8.316 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 -s gbode -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: 8.533914742001798]