Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00147/0.00147, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00105/0.00105, allocations: 181 kB / 23.35 MB, free: 1.133 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 0.9925/0.9925, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.543/2.543, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.277e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.00243/0.002453, allocations: 0.8595 MB / 0.8395 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001886/0.002641, allocations: 51.72 kB / 0.8395 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.036e-05/0.002702, allocations: 0 / 0.8395 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.306e-05/0.002745, allocations: 11.92 kB / 0.8395 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.434e-05/0.002839, allocations: 7.875 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 5.675e-05/0.002896, allocations: 19.97 kB / 0.8396 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.00302, allocations: 71.77 kB / 0.8396 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.003152, allocations: 27.97 kB / 0.8397 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.003283, allocations: 43.83 kB / 0.8397 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.944e-05/0.003332, allocations: 15.92 kB / 0.8397 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.003353, allocations: 8 kB / 0.8397 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.003364, allocations: 4 kB / 0.8397 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.003389, allocations: 15.91 kB / 0.8397 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.003417, allocations: 19.94 kB / 0.8398 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.003533, allocations: 39.83 kB / 0.8398 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.003537, allocations: 4 kB / 0.8398 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003538, allocations: 0 / 0.8398 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.003542, allocations: 0 / 0.8398 GB, free: 13.02 MB / 0.8073 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.0003707/0.003913, allocations: 280.6 kB / 0.8401 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.003957, allocations: 8.625 kB / 0.8401 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.004, allocations: 12.92 kB / 0.8401 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.004173, allocations: 141.5 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.004186, allocations: 4.375 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.004199, allocations: 8.375 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.004325, allocations: 87.83 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.004335, allocations: 4.125 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.004344, allocations: 4.375 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.004351, allocations: 384 / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.978e-05/0.004391, allocations: 15.94 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.004864, allocations: 0.5049 MB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.729e-05/0.004941, allocations: 181.2 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.023e-05/0.004972, allocations: 80.14 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.004996, allocations: 75.28 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.005042, allocations: 113.8 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.005044, allocations: 0 / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.746e-05/0.005111, allocations: 25.7 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.136e-05/0.005173, allocations: 130.7 kB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.005299, allocations: 152.6 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.005309, allocations: 25.7 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.007e-05/0.005379, allocations: 123.8 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-06/0.005381, allocations: 0 / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.00542, allocations: 25.67 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.005525, allocations: 330.8 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.005536, allocations: 4 kB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.844e-05/0.005584, allocations: 66.83 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.089e-05/0.005655, allocations: 58.75 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.005658, allocations: 0 / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001342/0.005792, allocations: 77.48 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.005806, allocations: 8 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.005812, allocations: 0 / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.005826, allocations: 4 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.005891, allocations: 15.98 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.005897, allocations: 4 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.933e-05/0.005936, allocations: 7.938 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.005942, allocations: 4 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.69e-05/0.006039, allocations: 201.2 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/0.006107, allocations: 112.9 kB / 0.8426 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.415e-05/0.006161, allocations: 112.7 kB / 0.8427 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.543e-05/0.006217, allocations: 180.3 kB / 0.8429 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.722e-05/0.006274, allocations: 180.3 kB / 0.843 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.938e-05/0.006333, allocations: 184.2 kB / 0.8432 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.006535, allocations: 329.4 kB / 0.8435 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.742e-05/0.006572, allocations: 108.9 kB / 0.8436 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.006606, allocations: 101 kB / 0.8437 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.566e-05/0.006662, allocations: 176.3 kB / 0.8439 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.11e-05/0.006723, allocations: 188.2 kB / 0.8441 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.943e-05/0.006783, allocations: 184.2 kB / 0.8442 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-05/0.006836, allocations: 180.4 kB / 0.8444 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.00696, allocations: 315.7 kB / 0.8447 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.007018, allocations: 112.9 kB / 0.8448 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.75e-05/0.007086, allocations: 180.2 kB / 0.845 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.007163, allocations: 108.9 kB / 0.8451 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.00722, allocations: 180.3 kB / 0.8453 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.007255, allocations: 112.9 kB / 0.8454 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.801e-05/0.007293, allocations: 26.05 kB / 0.8454 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.007293, allocations: 0 / 0.8454 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002382/0.007532, allocations: 15.95 kB / 0.8454 GB, free: 6.855 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001116/0.007643, allocations: 147.7 kB / 0.8456 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.381e-05/0.007717, allocations: 32.77 kB / 0.8456 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.007723, allocations: 4 kB / 0.8456 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.007724, allocations: 0 / 0.8456 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.008024, allocations: 466.2 kB / 0.846 GB, free: 6.207 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/0.008303, allocations: 224.4 kB / 0.8463 GB, free: 5.961 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.669e-05/0.00835, allocations: 63.34 kB / 0.8463 GB, free: 5.879 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.547e-05/0.008395, allocations: 8.719 kB / 0.8463 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.008432, allocations: 51.38 kB / 0.8464 GB, free: 5.816 MB / 0.8073 GB Notification: Performance of SimCode: time 6.82e-07/0.008433, allocations: 0 / 0.8464 GB, free: 5.816 MB / 0.8073 GB Notification: Performance of Templates: time 0.002251/0.01068, allocations: 344.6 kB / 0.8467 GB, free: 5.48 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_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.455989326816052]