Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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: 89.06 kB / 19.64 MB, free: 276 kB / 13.93 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.001091/0.001091, allocations: 169 kB / 23.02 MB, free: 1.547 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.058/1.058, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 2.24/2.24, allocations: 429.5 MB / 0.6732 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.382e-05/3.641e-05, allocations: 3.656 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.00266/0.002696, allocations: 0.8241 MB / 0.879 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001617/0.002858, allocations: 45.44 kB / 0.879 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.282e-05/0.002921, allocations: 4 kB / 0.879 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.813e-05/0.002969, allocations: 11.81 kB / 0.879 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.003074, allocations: 7.922 kB / 0.8791 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.918e-05/0.003134, allocations: 16.48 kB / 0.8791 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.003291, allocations: 69.45 kB / 0.8791 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.003446, allocations: 23.92 kB / 0.8792 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.003567, allocations: 39.84 kB / 0.8792 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.353e-05/0.003621, allocations: 23.89 kB / 0.8792 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.003645, allocations: 8.562 kB / 0.8792 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/0.003658, allocations: 5.344 kB / 0.8792 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.943e-05/0.003687, allocations: 15.94 kB / 0.8792 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.003725, allocations: 23.91 kB / 0.8793 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.003843, allocations: 39.83 kB / 0.8793 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.003846, allocations: 1.594 kB / 0.8793 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.232e-06/0.003847, allocations: 0 / 0.8793 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.003853, allocations: 0 / 0.8793 GB, free: 5.18 MB / 0.8386 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.0004692/0.004322, allocations: 410 kB / 0.8797 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.004371, allocations: 12.03 kB / 0.8797 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/0.00442, allocations: 16.89 kB / 0.8797 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.004639, allocations: 136.4 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.004653, allocations: 8.312 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.004671, allocations: 11.25 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.004871, allocations: 81.61 kB / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.004884, allocations: 4.125 kB / 0.88 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.0049, allocations: 4.375 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.004912, allocations: 4.375 kB / 0.88 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.729e-05/0.004979, allocations: 23.92 kB / 0.88 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.005595, allocations: 466.4 kB / 0.8804 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.129e-05/0.005666, allocations: 58.12 kB / 0.8805 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.243e-05/0.005709, allocations: 23.48 kB / 0.8805 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.005717, allocations: 0 / 0.8805 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.005751, allocations: 45.33 kB / 0.8806 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.005752, allocations: 0 / 0.8806 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001819/0.005934, allocations: 41.64 kB / 0.8806 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.005979, allocations: 77.11 kB / 0.8807 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.006114, allocations: 188.3 kB / 0.8808 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.006127, allocations: 33.7 kB / 0.8809 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/0.006208, allocations: 158.7 kB / 0.881 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.087e-05/0.006219, allocations: 11.88 kB / 0.881 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.00626, allocations: 23.38 kB / 0.8811 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.00641, allocations: 492.1 kB / 0.8815 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.006426, allocations: 4 kB / 0.8815 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.111e-05/0.006457, allocations: 31.34 kB / 0.8816 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.899e-05/0.006506, allocations: 31.31 kB / 0.8816 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.006508, allocations: 0 / 0.8816 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001704/0.006679, allocations: 57.64 kB / 0.8817 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.006695, allocations: 4 kB / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.006701, allocations: 0 / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.006721, allocations: 4 kB / 0.8817 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.074e-05/0.006792, allocations: 11.94 kB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.006799, allocations: 3.938 kB / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.317e-05/0.006823, allocations: 0 / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.006829, allocations: 4 kB / 0.8817 GB, free: 2.5 MB / 0.8386 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 7.564e-05/0.006905, allocations: 152.6 kB / 0.8818 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.006947, allocations: 12.02 kB / 0.8818 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.006985, allocations: 15.45 kB / 0.8819 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.006989, allocations: 3.938 kB / 0.8819 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.006992, allocations: 0 / 0.8819 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.269e-06/0.006997, allocations: 3.938 kB / 0.8819 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004037/0.0074, allocations: 0.5383 MB / 0.8824 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.007403, allocations: 4 kB / 0.8824 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.955e-05/0.007422, allocations: 0 / 0.8824 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.007426, allocations: 4 kB / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.007434, allocations: 3.938 kB / 0.8824 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.007436, allocations: 4.062 kB / 0.8824 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.007438, allocations: 0 / 0.8824 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.221e-05/0.00753, allocations: 92.02 kB / 0.8825 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.007554, allocations: 11.95 kB / 0.8825 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.007568, allocations: 3.938 kB / 0.8825 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.402e-05/0.007582, allocations: 0 / 0.8825 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.007599, allocations: 4 kB / 0.8825 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.007601, allocations: 0 / 0.8825 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.811e-05/0.007669, allocations: 147.2 kB / 0.8826 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.00767, allocations: 0 / 0.8826 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002337/0.007903, allocations: 15.97 kB / 0.8827 GB, free: 1.402 MB / 0.8386 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.0001044/0.008008, allocations: 91.25 kB / 0.8827 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.525e-05/0.008103, allocations: 23.62 kB / 0.8828 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.008106, allocations: 4 kB / 0.8828 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.027e-05/0.008116, allocations: 7.688 kB / 0.8828 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.008299, allocations: 10.33 kB / 0.8828 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.008646, allocations: 170.9 kB / 0.883 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.31e-05/0.008689, allocations: 67.97 kB / 0.883 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.09e-05/0.00872, allocations: 4 kB / 0.883 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.00875, allocations: 8.5 kB / 0.883 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of SimCode: time 9.92e-07/0.008751, allocations: 0 / 0.883 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of Templates: time 0.002881/0.01163, allocations: 355.7 kB / 0.8834 GB, free: 0.6016 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.770666225347668]