Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 104 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 198.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.348/3.348, allocations: 496.1 MB / 0.7801 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002434/0.002434, allocations: 70.86 kB / 1.133 GB, free: 33.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4571/0.4595, allocations: 173.7 MB / 1.303 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002574/0.4621, allocations: 0.825 MB / 1.303 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001323/0.4622, allocations: 39.8 kB / 1.304 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.625e-05/0.4623, allocations: 0 / 1.304 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.306e-05/0.4623, allocations: 7.875 kB / 1.304 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.4624, allocations: 19.86 kB / 1.304 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.228e-05/0.4625, allocations: 15.97 kB / 1.304 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.4626, allocations: 59.84 kB / 1.304 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.4628, allocations: 31.98 kB / 1.304 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.96e-05/0.4629, allocations: 31.8 kB / 1.304 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.29e-05/0.463, allocations: 23.86 kB / 1.304 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.463, allocations: 8 kB / 1.304 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.463, allocations: 8 kB / 1.304 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.463, allocations: 15.92 kB / 1.304 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.4631, allocations: 27.81 kB / 1.304 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.4632, allocations: 87.5 kB / 1.304 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.4633, allocations: 0 / 1.304 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4633, allocations: 3.938 kB / 1.304 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.4633, allocations: 0 / 1.304 GB, free: 1.414 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005943/0.4639, allocations: 383.1 kB / 1.304 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.4639, allocations: 8.031 kB / 1.304 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.464, allocations: 16.84 kB / 1.304 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.4642, allocations: 192.2 kB / 1.304 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.4643, allocations: 8.375 kB / 1.304 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.4643, allocations: 4.375 kB / 1.304 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.4645, allocations: 91.89 kB / 1.305 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.4645, allocations: 8.172 kB / 1.305 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.4645, allocations: 7.938 kB / 1.305 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4645, allocations: 0 / 1.305 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.825e-05/0.4646, allocations: 39.92 kB / 1.305 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006959/0.4653, allocations: 436.7 kB / 1.305 GB, free: 92 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.63e-05/0.4654, allocations: 41.19 kB / 1.305 GB, free: 32 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.295e-05/0.4654, allocations: 21.84 kB / 1.305 GB, free: 4 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.537e-06/0.4654, allocations: 4 kB / 1.305 GB, free: 0 / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.4655, allocations: 30.56 kB / 1.305 GB, free: 15.96 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4655, allocations: 0 / 1.305 GB, free: 15.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002099/0.4657, allocations: 57.52 kB / 1.305 GB, free: 15.9 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.4658, allocations: 81.11 kB / 1.305 GB, free: 15.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.466, allocations: 161.3 kB / 1.305 GB, free: 15.64 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.466, allocations: 29.7 kB / 1.305 GB, free: 15.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.795e-05/0.4661, allocations: 108 kB / 1.306 GB, free: 15.49 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.4661, allocations: 7.953 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.4661, allocations: 17.67 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4663, allocations: 318.8 kB / 1.306 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.4663, allocations: 8 kB / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.692e-05/0.4663, allocations: 21.72 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.039e-05/0.4664, allocations: 29.66 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4664, allocations: 3.984 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.676e-05/0.4665, allocations: 57.59 kB / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4665, allocations: 7.938 kB / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4665, allocations: 7.938 kB / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.4665, allocations: 0 / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.703e-05/0.4666, allocations: 4.062 kB / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.4666, allocations: 11.97 kB / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.4666, allocations: 4 kB / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.4666, allocations: 0 / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 9.27e-05/0.4667, allocations: 113.8 kB / 1.306 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.4668, allocations: 7.953 kB / 1.306 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.4668, allocations: 15.81 kB / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.4668, allocations: 0 / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4668, allocations: 0 / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.4668, allocations: 7.984 kB / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.4673, allocations: 474.7 kB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4673, allocations: 4 kB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.621e-05/0.4673, allocations: 0 / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.4673, allocations: 4 kB / 1.307 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.4673, allocations: 0 / 1.307 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4673, allocations: 0 / 1.307 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4673, allocations: 0 / 1.307 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.4674, allocations: 85.88 kB / 1.307 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-05/0.4675, allocations: 93 kB / 1.307 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.4675, allocations: 0 / 1.307 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.267e-05/0.4676, allocations: 4 kB / 1.307 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.4676, allocations: 3.984 kB / 1.307 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.4676, allocations: 0 / 1.307 GB, free: 14.06 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000113/0.4677, allocations: 119.3 kB / 1.307 GB, free: 13.94 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4677, allocations: 0 / 1.307 GB, free: 13.94 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001802/0.4679, allocations: 8 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001738/0.468, allocations: 99.23 kB / 1.307 GB, free: 13.83 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.4682, allocations: 19.94 kB / 1.307 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4682, allocations: 0 / 1.307 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.298e-05/0.4682, allocations: 8.188 kB / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.4684, allocations: 15.94 kB / 1.307 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.4688, allocations: 174.5 kB / 1.307 GB, free: 13.58 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/0.4693, allocations: 0.6924 MB / 1.308 GB, free: 12.86 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.888e-05/0.4694, allocations: 16.44 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.4694, allocations: 11.44 kB / 1.308 GB, free: 12.83 MB / 1.014 GB Notification: Performance of SimCode: time 4.6e-07/0.4694, allocations: 4 kB / 1.308 GB, free: 12.83 MB / 1.014 GB Notification: Performance of Templates: time 0.00435/0.4737, allocations: 460.5 kB / 1.308 GB, free: 12.38 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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: 9.347731911577284]