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.001609/0.001609, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001839/0.001839, allocations: 218.9 kB / 22.99 MB, free: 4.914 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.768/2.768, allocations: 476 MB / 0.7707 GB, free: 4.719 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.00213/0.00213, allocations: 67.09 kB / 1.118 GB, free: 41.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3796, allocations: 170 MB / 1.284 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002622/0.3823, allocations: 0.8006 MB / 1.285 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.3842, allocations: 1.165 MB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.566e-05/0.3843, allocations: 4 kB / 1.286 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.01e-05/0.3843, allocations: 3.938 kB / 1.286 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.91e-05/0.3844, allocations: 11.86 kB / 1.286 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005802/0.385, allocations: 143.9 kB / 1.286 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.3853, allocations: 151.7 kB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3854, allocations: 23.92 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.3855, allocations: 67.77 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.3856, allocations: 43.81 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.545e-05/0.3857, allocations: 16 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-05/0.3858, allocations: 35.92 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.3858, allocations: 15.98 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.157e-05/0.3859, allocations: 47.78 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.3861, allocations: 151.5 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3861, allocations: 0 / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3861, allocations: 0 / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.3861, allocations: 4 kB / 1.286 GB, free: 9.262 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.0007261/0.3869, allocations: 355.8 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3869, allocations: 8.031 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.545e-05/0.387, allocations: 16.84 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.3871, allocations: 118.4 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.3872, allocations: 12.38 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.3872, allocations: 12.36 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.3874, allocations: 86.22 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3874, allocations: 4.188 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3874, allocations: 7.875 kB / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3875, allocations: 4 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.3877, allocations: 55.94 kB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000603/0.3883, allocations: 300.2 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.3884, allocations: 50.59 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.3885, allocations: 36.83 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.3886, allocations: 0 / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002845/0.3888, allocations: 83.36 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3888, allocations: 0 / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0004484/0.3893, allocations: 129.5 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.3894, allocations: 55.41 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.3895, allocations: 121.8 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.3895, allocations: 33.69 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.616e-05/0.3896, allocations: 100 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.3896, allocations: 15.88 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.902e-05/0.3897, allocations: 41.69 kB / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3899, allocations: 322.8 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.3901, allocations: 81.66 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.3903, allocations: 130.8 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.3905, allocations: 120.2 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3905, allocations: 0 / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004598/0.391, allocations: 224.9 kB / 1.289 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/0.391, allocations: 41.78 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.391, allocations: 3.938 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3911, allocations: 7.984 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.15e-05/0.3912, allocations: 12.05 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3912, allocations: 4 kB / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.3914, allocations: 35.91 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.467e-05/0.3915, allocations: 12.02 kB / 1.289 GB, free: 6.426 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.0001258/0.3916, allocations: 125.8 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.3916, allocations: 3.984 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.3916, allocations: 12.38 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3916, allocations: 7.938 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3916, allocations: 0 / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3917, allocations: 0 / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.3919, allocations: 129.2 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3919, allocations: 4.312 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/0.3919, allocations: 11.98 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.3919, allocations: 0 / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.392, allocations: 0 / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.227e-06/0.392, allocations: 3.984 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.392, allocations: 4 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.3923, allocations: 129 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.3923, allocations: 11.95 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.3923, allocations: 0 / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.3924, allocations: 11.98 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.3924, allocations: 11.98 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.3924, allocations: 3.984 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.679e-05/0.3925, allocations: 91.28 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3925, allocations: 0 / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002343/0.3927, allocations: 35.88 kB / 1.289 GB, free: 5.777 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.0001745/0.3929, allocations: 111.2 kB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004203/0.3933, allocations: 185 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3933, allocations: 0 / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.3935, allocations: 31.97 kB / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.3937, allocations: 18.02 kB / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.3942, allocations: 211.9 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.993e-05/0.3942, allocations: 79.27 kB / 1.29 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.3943, allocations: 15.44 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.3943, allocations: 0 / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of Templates: time 0.004022/0.3983, allocations: 1.374 MB / 1.291 GB, free: 3.707 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.248857203871012]