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.001829/0.001829, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002438/0.002438, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.409/1.409, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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 2.917/2.917, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] 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.002272/0.002272, allocations: 74.39 kB / 0.982 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.844/0.8462, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001857/0.8481, allocations: 0.7943 MB / 1.155 GB, free: 32.86 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.8492, allocations: 1.177 MB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.8493, allocations: 0 / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.8493, allocations: 7.875 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.428e-05/0.8494, allocations: 18.59 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.8498, allocations: 138.1 kB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.8499, allocations: 151.9 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.919e-05/0.85, allocations: 24.25 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.949e-05/0.8501, allocations: 50.88 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.304e-05/0.8502, allocations: 55.22 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.8502, allocations: 14.41 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.186e-05/0.8503, allocations: 27.36 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.324e-05/0.8503, allocations: 22.02 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.724e-05/0.8504, allocations: 48.86 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.8505, allocations: 154 kB / 1.157 GB, free: 31.69 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.8505, allocations: 0 / 1.157 GB, free: 31.69 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8505, allocations: 0 / 1.157 GB, free: 31.69 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.8505, allocations: 0 / 1.157 GB, free: 31.69 MB / 1.076 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.0005111/0.8511, allocations: 361.8 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.8511, allocations: 8.656 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.8511, allocations: 13.42 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.88e-05/0.8512, allocations: 113.3 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.8512, allocations: 13.48 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.8512, allocations: 13 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.8514, allocations: 85.3 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.8515, allocations: 192 / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.8515, allocations: 3.938 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.8515, allocations: 3.25 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.8517, allocations: 56.11 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.8521, allocations: 305.3 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.8522, allocations: 46.2 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.128e-05/0.8523, allocations: 33.59 kB / 1.158 GB, free: 30.85 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.8523, allocations: 0 / 1.158 GB, free: 30.85 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.8525, allocations: 85.64 kB / 1.158 GB, free: 30.79 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.8525, allocations: 6.406 kB / 1.158 GB, free: 30.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.0003882/0.8529, allocations: 131.4 kB / 1.158 GB, free: 30.72 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.8529, allocations: 54.34 kB / 1.158 GB, free: 30.66 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.416e-05/0.853, allocations: 123.7 kB / 1.158 GB, free: 30.55 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.853, allocations: 36.33 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.853, allocations: 105 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.853, allocations: 14.69 kB / 1.158 GB, free: 30.4 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.8531, allocations: 38.8 kB / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.937e-05/0.8531, allocations: 320.5 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.8533, allocations: 85.31 kB / 1.158 GB, free: 30.01 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.8535, allocations: 139.6 kB / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.8537, allocations: 114.3 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.8537, allocations: 0 / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003791/0.8541, allocations: 229.2 kB / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.8541, allocations: 34.41 kB / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.8541, allocations: 2.688 kB / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.8541, allocations: 0 / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.265e-05/0.8542, allocations: 12.28 kB / 1.159 GB, free: 29.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.8542, allocations: 2.656 kB / 1.159 GB, free: 29.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.8544, allocations: 42.34 kB / 1.159 GB, free: 29.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.8544, allocations: 8.969 kB / 1.159 GB, free: 29.63 MB / 1.076 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 6.03e-05/0.8545, allocations: 122 kB / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.8545, allocations: 9.922 kB / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.8545, allocations: 11.5 kB / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.8545, allocations: 0 / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.8545, allocations: 0 / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.8545, allocations: 3.984 kB / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.98e-05/0.8546, allocations: 129 kB / 1.159 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8546, allocations: 3 kB / 1.159 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.872e-05/0.8547, allocations: 8.188 kB / 1.159 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.8547, allocations: 6.5 kB / 1.159 GB, free: 29.35 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.8547, allocations: 0 / 1.159 GB, free: 29.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8547, allocations: 0 / 1.159 GB, free: 29.35 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8547, allocations: 8.188 kB / 1.159 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.8549, allocations: 132.3 kB / 1.159 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-06/0.8549, allocations: 6.969 kB / 1.159 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.8549, allocations: 4 kB / 1.159 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.855, allocations: 8.625 kB / 1.159 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.8551, allocations: 20.47 kB / 1.159 GB, free: 29.24 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.8551, allocations: 3.062 kB / 1.159 GB, free: 29.24 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.173e-05/0.8551, allocations: 90.81 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8551, allocations: 0 / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002202/0.8553, allocations: 26.7 kB / 1.16 GB, free: 29.16 MB / 1.076 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 9.367e-05/0.8554, allocations: 117.7 kB / 1.16 GB, free: 29.05 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000344/0.8558, allocations: 186.7 kB / 1.16 GB, free: 28.93 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8558, allocations: 4.125 kB / 1.16 GB, free: 28.93 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.8559, allocations: 33.03 kB / 1.16 GB, free: 28.92 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.8561, allocations: 17.66 kB / 1.16 GB, free: 28.91 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.8564, allocations: 183.1 kB / 1.16 GB, free: 28.77 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.992e-05/0.8564, allocations: 78.34 kB / 1.16 GB, free: 28.7 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.955e-05/0.8564, allocations: 10.53 kB / 1.16 GB, free: 28.69 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.8565, allocations: 16.84 kB / 1.16 GB, free: 28.68 MB / 1.076 GB Notification: Performance of SimCode: time 3.5e-07/0.8565, allocations: 0 / 1.16 GB, free: 28.68 MB / 1.076 GB Notification: Performance of Templates: time 0.004141/0.8606, allocations: 1.777 MB / 1.162 GB, free: 28.47 MB / 1.076 GB " [Timeout remaining time 299] 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 ida -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.701482375967316]