Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.001502/0.001502, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001784/0.001784, allocations: 212.7 kB / 22.24 MB, free: 4.855 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.583/1.583, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.493/3.493, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [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.002082/0.002082, allocations: 68.12 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4646, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002275/0.4669, allocations: 0.7972 MB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001488/0.4671, allocations: 39.78 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.471e-05/0.4671, allocations: 4 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.612e-05/0.4672, allocations: 11.86 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.721e-05/0.4672, allocations: 7.875 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.593e-05/0.4673, allocations: 19.98 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.4674, allocations: 59.84 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.4676, allocations: 35.95 kB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.904e-05/0.4676, allocations: 23.88 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.959e-05/0.4677, allocations: 27.78 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.4677, allocations: 8 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.879e-06/0.4677, allocations: 7.938 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.4677, allocations: 19.88 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.4678, allocations: 27.86 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.4679, allocations: 71.58 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4679, allocations: 4 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.355e-06/0.4679, allocations: 0 / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.4679, allocations: 4 kB / 1.365 GB, free: 12.44 MB / 1.061 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.0004549/0.4684, allocations: 302 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.4684, allocations: 8.031 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.4685, allocations: 16.84 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.4687, allocations: 138.3 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.4687, allocations: 4.375 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.4687, allocations: 8.375 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.4689, allocations: 91.86 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.4689, allocations: 12.17 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.4689, allocations: 3.938 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.4689, allocations: 7.938 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.866e-05/0.469, allocations: 35.98 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005294/0.4695, allocations: 352.4 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.157e-05/0.4696, allocations: 45.27 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.4696, allocations: 21.84 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.4696, allocations: 0 / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.4697, allocations: 34.56 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.4697, allocations: 3.938 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001753/0.4699, allocations: 53.59 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.4699, allocations: 85.03 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.4701, allocations: 125.8 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.4701, allocations: 25.7 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.669e-05/0.4702, allocations: 107.9 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.879e-06/0.4702, allocations: 7.938 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.4702, allocations: 17.72 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4704, allocations: 318.8 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.4704, allocations: 4 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.4704, allocations: 21.95 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.116e-05/0.4704, allocations: 25.72 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4704, allocations: 0 / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001737/0.4706, allocations: 61.62 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4706, allocations: 5.719 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.4706, allocations: 0 / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.4707, allocations: 3.938 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.519e-05/0.4707, allocations: 11.94 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.4707, allocations: 0 / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/0.4708, allocations: 8.016 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.4708, allocations: 4 kB / 1.367 GB, free: 10.3 MB / 1.061 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.623e-05/0.4709, allocations: 117.7 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.4709, allocations: 4 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.4709, allocations: 19.33 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4709, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4709, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.4709, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004201/0.4714, allocations: 414.4 kB / 1.367 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4714, allocations: 3.938 kB / 1.367 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.4714, allocations: 8.062 kB / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4714, allocations: 0 / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.4714, allocations: 0 / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4714, allocations: 4 kB / 1.367 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4714, allocations: 0 / 1.367 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.4715, allocations: 73.98 kB / 1.367 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.4715, allocations: 15.83 kB / 1.367 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.4715, allocations: 0 / 1.367 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.998e-05/0.4716, allocations: 4 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.4716, allocations: 4 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.4716, allocations: 4.031 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.348e-05/0.4717, allocations: 105.1 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4717, allocations: 0 / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001937/0.4719, allocations: 11.95 kB / 1.368 GB, free: 9.441 MB / 1.061 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.0001502/0.472, allocations: 95.23 kB / 1.368 GB, free: 9.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.77e-05/0.4721, allocations: 19.94 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4721, allocations: 0 / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.545e-05/0.4721, allocations: 8.188 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.4723, allocations: 12 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.4727, allocations: 154.8 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.378e-05/0.4728, allocations: 80.5 kB / 1.368 GB, free: 9.016 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.106e-05/0.4728, allocations: 7.984 kB / 1.368 GB, free: 9.008 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.4728, allocations: 11.44 kB / 1.368 GB, free: 8.996 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/0.4728, allocations: 4 kB / 1.368 GB, free: 8.992 MB / 1.061 GB Notification: Performance of Templates: time 0.003136/0.476, allocations: 371.6 kB / 1.368 GB, free: 8.633 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.78957136720419]