Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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.0019/0.0019, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002002/0.002002, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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 1.591/1.591, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.002/3.002, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.512e-06/6.512e-06, allocations: 5.078 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.505e-05, allocations: 4.844 kB / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002148/0.002183, allocations: 0.8036 MB / 0.8116 GB, free: 1.289 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001424/0.002326, allocations: 45.5 kB / 0.8117 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.847e-05/0.002384, allocations: 4 kB / 0.8117 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.737e-05/0.002422, allocations: 7.875 kB / 0.8117 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.079e-05/0.002512, allocations: 3.938 kB / 0.8117 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.399e-05/0.002566, allocations: 20.84 kB / 0.8117 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.002711, allocations: 67.78 kB / 0.8118 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.002848, allocations: 28.53 kB / 0.8118 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.941e-05/0.002938, allocations: 37.31 kB / 0.8118 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.002999, allocations: 19.91 kB / 0.8118 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.003025, allocations: 8 kB / 0.8118 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.003036, allocations: 4 kB / 0.8118 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.16e-05/0.003068, allocations: 21.2 kB / 0.8119 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.003108, allocations: 23.91 kB / 0.8119 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.003244, allocations: 67.7 kB / 0.812 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003246, allocations: 0.6875 kB / 0.812 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003247, allocations: 0 / 0.812 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.003252, allocations: 0.9062 kB / 0.812 GB, free: 0.9414 MB / 0.7605 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.0005863/0.003838, allocations: 415.9 kB / 0.8124 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.00388, allocations: 8.688 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.003937, allocations: 16.89 kB / 0.8124 GB, free: 484 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.004162, allocations: 137.2 kB / 0.8125 GB, free: 320 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.004178, allocations: 8.312 kB / 0.8125 GB, free: 312 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.004193, allocations: 9.625 kB / 0.8125 GB, free: 304 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.004375, allocations: 101.5 kB / 0.8126 GB, free: 188 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.004386, allocations: 192 / 0.8126 GB, free: 188 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.004395, allocations: 2.469 kB / 0.8126 GB, free: 188 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.004402, allocations: 4.375 kB / 0.8126 GB, free: 184 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.901e-05/0.004501, allocations: 51.78 kB / 0.8127 GB, free: 132 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006742/0.005176, allocations: 458.5 kB / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.005284, allocations: 66.14 kB / 0.8132 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.005337, allocations: 24.38 kB / 0.8132 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.00535, allocations: 5.531 kB / 0.8132 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.005384, allocations: 33.39 kB / 0.8132 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.005385, allocations: 0 / 0.8132 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002157/0.005601, allocations: 50.56 kB / 0.8133 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.005675, allocations: 85.09 kB / 0.8134 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.005859, allocations: 197.6 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.005882, allocations: 29.69 kB / 0.8136 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.006, allocations: 163.6 kB / 0.8137 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.887e-06/0.006009, allocations: 3.953 kB / 0.8137 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.006055, allocations: 24.94 kB / 0.8138 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002775/0.006332, allocations: 0.4884 MB / 0.8142 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.006353, allocations: 7.984 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.006388, allocations: 27.31 kB / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.683e-05/0.006444, allocations: 28.56 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.006446, allocations: 0 / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.958e-05/0.006546, allocations: 62.91 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.006561, allocations: 4 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.006565, allocations: 0.9375 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.006581, allocations: 96 / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.579e-05/0.006647, allocations: 8 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.006655, allocations: 4.469 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.401e-05/0.006689, allocations: 13.25 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.006696, allocations: 4 kB / 0.8144 GB, free: 14.2 MB / 0.7761 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 0.0001283/0.006825, allocations: 160.6 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.006865, allocations: 9.266 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.006893, allocations: 11.41 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.006895, allocations: 0 / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.006898, allocations: 3.938 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.006904, allocations: 8.562 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005258/0.007429, allocations: 0.5546 MB / 0.8151 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.007431, allocations: 1.562 kB / 0.8151 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/0.007451, allocations: 7.938 kB / 0.8151 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.007453, allocations: 4 kB / 0.8151 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.007463, allocations: 3.938 kB / 0.8151 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.007464, allocations: 0 / 0.8151 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.007465, allocations: 1.344 kB / 0.8151 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.007576, allocations: 88.12 kB / 0.8152 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.495e-05/0.007601, allocations: 8.578 kB / 0.8152 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.007618, allocations: 7.938 kB / 0.8152 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.71e-05/0.007635, allocations: 0.5625 kB / 0.8152 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.007656, allocations: 3.984 kB / 0.8152 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.007658, allocations: 5.812 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001065/0.007765, allocations: 147.2 kB / 0.8154 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.007765, allocations: 0 / 0.8154 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001825/0.007947, allocations: 11.95 kB / 0.8154 GB, free: 13.09 MB / 0.7761 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.0001252/0.008072, allocations: 96.12 kB / 0.8155 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.777e-05/0.00817, allocations: 23.16 kB / 0.8155 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.008172, allocations: 0 / 0.8155 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.749e-05/0.008199, allocations: 19.61 kB / 0.8155 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.008359, allocations: 8 kB / 0.8155 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.008723, allocations: 170.6 kB / 0.8157 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.008941, allocations: 83.8 kB / 0.8158 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.149e-05/0.008973, allocations: 6.219 kB / 0.8158 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.009003, allocations: 8.5 kB / 0.8158 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of SimCode: time 6.32e-07/0.009004, allocations: 0 / 0.8158 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of Templates: time 0.003074/0.01208, allocations: 360.5 kB / 0.8161 GB, free: 12.27 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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.009150635101832]