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.001032/0.001032, allocations: 80.39 kB / 21.47 MB, free: 3.027 MB / 18.57 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.0009577/0.0009577, allocations: 163.4 kB / 24.86 MB, free: 8.84 MB / 18.57 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 0.9301/0.9301, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 1.839/1.839, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] 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 2.033e-06/2.033e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.667e-05, allocations: 4.156 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001362/0.001379, allocations: 0.8353 MB / 0.7891 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.002558, allocations: 1.191 MB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.741e-05/0.002605, allocations: 0.7188 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.885e-05/0.002634, allocations: 7.875 kB / 0.7903 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.141e-05/0.002716, allocations: 17 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.003068, allocations: 136.7 kB / 0.7904 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.003221, allocations: 147.7 kB / 0.7906 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.507e-05/0.003316, allocations: 27.97 kB / 0.7906 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.003428, allocations: 80.47 kB / 0.7907 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.048e-05/0.003509, allocations: 46.67 kB / 0.7907 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.003531, allocations: 12 kB / 0.7907 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.509e-05/0.003586, allocations: 31.92 kB / 0.7908 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.003611, allocations: 19.97 kB / 0.7908 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.03e-05/0.003652, allocations: 39.91 kB / 0.7908 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.003794, allocations: 119.6 kB / 0.7909 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.003796, allocations: 0 / 0.7909 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003796, allocations: 1.469 kB / 0.7909 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.0038, allocations: 0 / 0.7909 GB, free: 9.512 MB / 0.7448 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.0004125/0.004213, allocations: 450.1 kB / 0.7914 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.004253, allocations: 8.031 kB / 0.7914 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.004294, allocations: 17.48 kB / 0.7914 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.886e-05/0.004373, allocations: 125.3 kB / 0.7915 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.004385, allocations: 4.375 kB / 0.7915 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.004403, allocations: 13.19 kB / 0.7915 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.004512, allocations: 70.92 kB / 0.7916 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.004518, allocations: 4.719 kB / 0.7916 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.004527, allocations: 8.359 kB / 0.7916 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.004531, allocations: 1.062 kB / 0.7916 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.117e-05/0.004562, allocations: 15.92 kB / 0.7916 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.004888, allocations: 341.8 kB / 0.792 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.249e-05/0.00495, allocations: 38.98 kB / 0.792 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.004968, allocations: 13.06 kB / 0.792 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.004977, allocations: 4 kB / 0.792 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.322e-05/0.005061, allocations: 77.05 kB / 0.7921 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.005062, allocations: 1.812 kB / 0.7921 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001456/0.005208, allocations: 69.64 kB / 0.7922 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.005236, allocations: 51.41 kB / 0.7922 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.895e-05/0.005315, allocations: 185.9 kB / 0.7924 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.005332, allocations: 29.64 kB / 0.7924 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.976e-05/0.005392, allocations: 152.3 kB / 0.7926 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.005405, allocations: 7.906 kB / 0.7926 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.298e-05/0.005458, allocations: 51.33 kB / 0.7926 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.00557, allocations: 0.4884 MB / 0.7931 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.345e-05/0.005624, allocations: 54.2 kB / 0.7931 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.135e-05/0.005695, allocations: 126.1 kB / 0.7933 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.267e-05/0.005768, allocations: 86.59 kB / 0.7933 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.005771, allocations: 3.938 kB / 0.7933 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001718/0.005943, allocations: 183.5 kB / 0.7935 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.005969, allocations: 41.69 kB / 0.7936 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.005973, allocations: 320 / 0.7936 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/0.005979, allocations: 0 / 0.7936 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.651e-05/0.006026, allocations: 4 kB / 0.7936 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.00603, allocations: 8 kB / 0.7936 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.517e-05/0.006115, allocations: 28.44 kB / 0.7936 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.006132, allocations: 12.7 kB / 0.7936 GB, free: 6.516 MB / 0.7448 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 7.678e-05/0.006208, allocations: 165 kB / 0.7938 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.006219, allocations: 13.52 kB / 0.7938 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.864e-05/0.006238, allocations: 12.38 kB / 0.7938 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.00624, allocations: 0 / 0.7938 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.006242, allocations: 4 kB / 0.7938 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.006244, allocations: 1.094 kB / 0.7938 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.576e-05/0.00632, allocations: 113.2 kB / 0.7939 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.006321, allocations: 0 / 0.7939 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.828e-05/0.00634, allocations: 8.594 kB / 0.7939 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.006342, allocations: 3.938 kB / 0.7939 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.006348, allocations: 4.938 kB / 0.7939 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.006349, allocations: 0 / 0.7939 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-07/0.00635, allocations: 0.8438 kB / 0.7939 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.603e-05/0.006436, allocations: 100.4 kB / 0.794 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-06/0.006443, allocations: 9.516 kB / 0.794 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.006457, allocations: 8 kB / 0.794 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.354e-05/0.006481, allocations: 11.92 kB / 0.794 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.006515, allocations: 7.984 kB / 0.7941 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.00652, allocations: 4.906 kB / 0.7941 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.99e-05/0.006559, allocations: 135.6 kB / 0.7942 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006559, allocations: 0 / 0.7942 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001424/0.006702, allocations: 26.09 kB / 0.7942 GB, free: 5.852 MB / 0.7448 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 8.889e-05/0.006791, allocations: 107.2 kB / 0.7943 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.006934, allocations: 148.7 kB / 0.7945 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.006935, allocations: 2.188 kB / 0.7945 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.892e-05/0.006964, allocations: 19.69 kB / 0.7945 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.007099, allocations: 20.66 kB / 0.7945 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.007458, allocations: 192.1 kB / 0.7947 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.068e-05/0.007488, allocations: 67.28 kB / 0.7947 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.143e-05/0.00751, allocations: 0 / 0.7947 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.135e-05/0.007591, allocations: 96.05 kB / 0.7948 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of SimCode: time 7.22e-07/0.007592, allocations: 0 / 0.7948 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of Templates: time 0.003092/0.01068, allocations: 2.001 MB / 0.7968 GB, free: 3.184 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.023455749731511]