Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001434/0.001434, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.001689/0.001689, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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.502/1.502, allocations: 177.1 MB / 203.9 MB, free: 5.215 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 2.913/2.913, allocations: 377.8 MB / 0.6232 GB, free: 8.551 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.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.478e-05/3.682e-05, allocations: 5.125 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.003455/0.003491, allocations: 0.7976 MB / 0.8116 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002232/0.003715, allocations: 39.78 kB / 0.8116 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.084e-05/0.003805, allocations: 1.25 kB / 0.8116 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 6.282e-05/0.003868, allocations: 7.875 kB / 0.8116 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.003993, allocations: 11.88 kB / 0.8117 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 9.414e-05/0.004087, allocations: 29.66 kB / 0.8117 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.004269, allocations: 55.84 kB / 0.8117 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.004468, allocations: 35.91 kB / 0.8118 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.004616, allocations: 39.84 kB / 0.8118 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.88e-05/0.004685, allocations: 20.75 kB / 0.8118 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.004714, allocations: 8 kB / 0.8118 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.399e-05/0.004728, allocations: 4 kB / 0.8118 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.431e-05/0.004762, allocations: 16.61 kB / 0.8119 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 5.703e-05/0.004819, allocations: 20.84 kB / 0.8119 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.005011, allocations: 71.69 kB / 0.8119 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.005014, allocations: 0 / 0.8119 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.42e-07/0.005015, allocations: 0.6562 kB / 0.8119 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.005022, allocations: 4 kB / 0.812 GB, free: 0.9492 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.0006697/0.005692, allocations: 299 kB / 0.8122 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.005745, allocations: 12.03 kB / 0.8122 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.222e-05/0.005827, allocations: 21.56 kB / 0.8123 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.006136, allocations: 138.3 kB / 0.8124 GB, free: 444 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.006155, allocations: 4.359 kB / 0.8124 GB, free: 440 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.00618, allocations: 13.62 kB / 0.8124 GB, free: 428 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.006464, allocations: 96.42 kB / 0.8125 GB, free: 320 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.006479, allocations: 192 / 0.8125 GB, free: 320 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.006494, allocations: 4.312 kB / 0.8125 GB, free: 316 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.006501, allocations: 6.5 kB / 0.8125 GB, free: 312 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.006641, allocations: 39.92 kB / 0.8126 GB, free: 272 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007988/0.00744, allocations: 356.4 kB / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.007544, allocations: 37.22 kB / 0.8129 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.858e-05/0.007613, allocations: 18.61 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.007624, allocations: 1.531 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.331e-05/0.007687, allocations: 42.59 kB / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.007689, allocations: 0 / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002988/0.007987, allocations: 51.12 kB / 0.813 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/0.008068, allocations: 77.11 kB / 0.8131 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.008391, allocations: 129.8 kB / 0.8132 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.008417, allocations: 25.7 kB / 0.8133 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.008546, allocations: 117.7 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.008562, allocations: 7.938 kB / 0.8134 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.008628, allocations: 21.7 kB / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000233/0.008861, allocations: 310.8 kB / 0.8137 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.327e-05/0.008894, allocations: 9.062 kB / 0.8137 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.043e-05/0.008945, allocations: 21.7 kB / 0.8137 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.267e-05/0.009027, allocations: 31.19 kB / 0.8138 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.00903, allocations: 0 / 0.8138 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001617/0.009191, allocations: 50.23 kB / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.009214, allocations: 4 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.009225, allocations: 4.625 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.011e-05/0.009255, allocations: 4.516 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.108e-05/0.009337, allocations: 7.938 kB / 0.8138 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.009347, allocations: 4.719 kB / 0.8138 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/0.009399, allocations: 11.95 kB / 0.8138 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.009405, allocations: 0.9062 kB / 0.8138 GB, free: 14.81 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.0001389/0.009544, allocations: 113.8 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.009615, allocations: 4.531 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.335e-05/0.009638, allocations: 4.844 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.009652, allocations: 7.984 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.009658, allocations: 0 / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.009664, allocations: 3.938 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006767/0.01034, allocations: 419.7 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.01034, allocations: 3.938 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.584e-05/0.01038, allocations: 8.641 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01038, allocations: 0 / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.0104, allocations: 4.656 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.0104, allocations: 0 / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.0104, allocations: 0.9062 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.01055, allocations: 73.94 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.979e-05/0.01059, allocations: 12.78 kB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.01061, allocations: 3.938 kB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.02e-05/0.01064, allocations: 1.344 kB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.01066, allocations: 0 / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.01067, allocations: 4 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001234/0.01079, allocations: 105.3 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01079, allocations: 0.5938 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003968/0.01119, allocations: 12.55 kB / 0.8146 GB, free: 13.98 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.0001723/0.01136, allocations: 97.08 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001232/0.01149, allocations: 19.94 kB / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01149, allocations: 0 / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.232e-05/0.01152, allocations: 8.875 kB / 0.8147 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.01178, allocations: 4 kB / 0.8147 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005499/0.01233, allocations: 173.6 kB / 0.8149 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.01245, allocations: 79.19 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.179e-05/0.01249, allocations: 4.078 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.01254, allocations: 12.5 kB / 0.815 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of SimCode: time 9.21e-07/0.01254, allocations: 0 / 0.815 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.004221/0.01676, allocations: 348 kB / 0.8153 GB, free: 13.2 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 7.84722580795642]