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.001677/0.001677, allocations: 102.1 kB / 19.7 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.002216/0.002216, allocations: 217.8 kB / 23.01 MB, free: 4.609 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.82/2.82, allocations: 476.8 MB / 0.7714 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002055/0.002055, allocations: 69.77 kB / 1.119 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.296, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002193/0.2982, allocations: 0.8143 MB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.3, allocations: 1.196 MB / 1.287 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.3001, allocations: 0 / 1.287 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.411e-05/0.3001, allocations: 11.86 kB / 1.287 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.713e-05/0.3002, allocations: 11.88 kB / 1.287 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.3007, allocations: 138.9 kB / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.3009, allocations: 143.7 kB / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.301, allocations: 35.86 kB / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.734e-05/0.3011, allocations: 55.91 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.3012, allocations: 59.8 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.3012, allocations: 12 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.107e-05/0.3013, allocations: 27.98 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.3013, allocations: 19.92 kB / 1.287 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.089e-05/0.3014, allocations: 63.77 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.3016, allocations: 147.4 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3016, allocations: 0 / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3016, allocations: 0 / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.3016, allocations: 4 kB / 1.287 GB, free: 8.52 MB / 0.9825 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.0006274/0.3023, allocations: 363.7 kB / 1.288 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3023, allocations: 12.03 kB / 1.288 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.3023, allocations: 12.83 kB / 1.288 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.3024, allocations: 114.5 kB / 1.288 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.3025, allocations: 16.36 kB / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.3025, allocations: 12.31 kB / 1.288 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.3029, allocations: 90.2 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3029, allocations: 192 / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3029, allocations: 3.938 kB / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.3029, allocations: 8 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.3031, allocations: 59.95 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006369/0.3037, allocations: 347.6 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.3039, allocations: 54.55 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.829e-05/0.304, allocations: 28.92 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.304, allocations: 0 / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002913/0.3043, allocations: 87.31 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3043, allocations: 4 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0004165/0.3047, allocations: 121.6 kB / 1.289 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.3048, allocations: 55.39 kB / 1.289 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.3049, allocations: 125.8 kB / 1.289 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.3049, allocations: 29.7 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.305, allocations: 104 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.305, allocations: 15.89 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.68e-05/0.3051, allocations: 41.69 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3052, allocations: 314.8 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.3054, allocations: 59.89 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.3056, allocations: 79.39 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.3058, allocations: 120.2 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3058, allocations: 0 / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004734/0.3063, allocations: 191.2 kB / 1.29 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.3063, allocations: 37.69 kB / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.3063, allocations: 12 kB / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3063, allocations: 0 / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.3064, allocations: 8.078 kB / 1.29 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.3064, allocations: 7.938 kB / 1.29 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.3066, allocations: 43.84 kB / 1.29 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.3067, allocations: 8 kB / 1.29 GB, free: 5.75 MB / 0.9825 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.0001044/0.3068, allocations: 122.5 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.3068, allocations: 3.953 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.3068, allocations: 16.36 kB / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3068, allocations: 0 / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3068, allocations: 0 / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3068, allocations: 3.938 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.307, allocations: 160.7 kB / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.307, allocations: 0 / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-05/0.307, allocations: 11.94 kB / 1.29 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3071, allocations: 320 / 1.29 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3071, allocations: 7.984 kB / 1.29 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3071, allocations: 4 kB / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.3071, allocations: 0 / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.3074, allocations: 125 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.3074, allocations: 3.984 kB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.3074, allocations: 4 kB / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.764e-05/0.3075, allocations: 15.98 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.3075, allocations: 11.92 kB / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.3075, allocations: 4 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.124e-05/0.3076, allocations: 99.64 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3076, allocations: 0 / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002251/0.3078, allocations: 27.89 kB / 1.29 GB, free: 5.066 MB / 0.9825 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.0001513/0.308, allocations: 115.2 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003805/0.3084, allocations: 151.3 kB / 1.291 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3084, allocations: 0 / 1.291 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.3085, allocations: 47.83 kB / 1.291 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.3087, allocations: 11.98 kB / 1.291 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.3091, allocations: 205 kB / 1.291 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.3095, allocations: 0.7001 MB / 1.292 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.3095, allocations: 15.44 kB / 1.292 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3095, allocations: 3.938 kB / 1.292 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of Templates: time 0.003327/0.3128, allocations: 1.353 MB / 1.293 GB, free: 2.414 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.235014417994535]