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.000978/0.000978, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001062/0.001062, allocations: 177 kB / 23.36 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 1.035/1.035, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.598/2.598, allocations: 438.8 MB / 0.6827 GB, free: 13.54 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.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 1.483e-06/1.483e-06, allocations: 0 / 0.8386 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102e-05/1.25e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001299/0.001311, allocations: 0.8572 MB / 0.8395 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001177/0.001429, allocations: 43.72 kB / 0.8395 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.001472, allocations: 4 kB / 0.8395 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.226e-05/0.001504, allocations: 7.875 kB / 0.8395 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.84e-05/0.001572, allocations: 11.88 kB / 0.8395 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.946e-05/0.001612, allocations: 19.98 kB / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.205e-05/0.001694, allocations: 63.83 kB / 0.8396 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.44e-05/0.001788, allocations: 27.95 kB / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.203e-05/0.00188, allocations: 47.78 kB / 0.8397 GB, free: 13 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.417e-05/0.001915, allocations: 19.91 kB / 0.8397 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.00193, allocations: 8 kB / 0.8397 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.001941, allocations: 4 kB / 0.8397 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.001957, allocations: 7.984 kB / 0.8397 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.939e-05/0.001977, allocations: 15.94 kB / 0.8398 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.915e-05/0.002056, allocations: 55.7 kB / 0.8398 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.002058, allocations: 0 / 0.8398 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.2e-07/0.002058, allocations: 0 / 0.8398 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.002061, allocations: 0 / 0.8398 GB, free: 12.89 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.0002644/0.002325, allocations: 280.6 kB / 0.8401 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.002361, allocations: 12.61 kB / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.002388, allocations: 8.938 kB / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.002505, allocations: 133.6 kB / 0.8402 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-06/0.002513, allocations: 4.375 kB / 0.8402 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.002521, allocations: 8.375 kB / 0.8402 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.448e-05/0.002606, allocations: 87.77 kB / 0.8403 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.002613, allocations: 4.188 kB / 0.8403 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.002621, allocations: 4.375 kB / 0.8403 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.002626, allocations: 384 / 0.8403 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.558e-05/0.002652, allocations: 15.94 kB / 0.8403 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.002991, allocations: 0.5127 MB / 0.8408 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.238e-05/0.003043, allocations: 169.3 kB / 0.841 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.003064, allocations: 80.14 kB / 0.8411 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.00308, allocations: 75.28 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.842e-05/0.003149, allocations: 113.8 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.00315, allocations: 4 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.766e-05/0.003197, allocations: 33.69 kB / 0.8413 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.003232, allocations: 130.6 kB / 0.8414 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.404e-05/0.003316, allocations: 148.5 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.003323, allocations: 25.7 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/0.003373, allocations: 123.7 kB / 0.8417 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-06/0.003377, allocations: 8 kB / 0.8417 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.003403, allocations: 25.66 kB / 0.8417 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.213e-05/0.003476, allocations: 330.8 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.551e-06/0.003481, allocations: 4 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.422e-05/0.003515, allocations: 54.84 kB / 0.8421 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.879e-05/0.003564, allocations: 66.73 kB / 0.8422 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.003566, allocations: 0 / 0.8422 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.294e-05/0.003649, allocations: 81.48 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.003659, allocations: 6.5 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.003665, allocations: 4 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.003678, allocations: 3.984 kB / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.109e-05/0.003719, allocations: 12 kB / 0.8423 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.003723, allocations: 4 kB / 0.8423 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.003746, allocations: 11.94 kB / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.00375, allocations: 4 kB / 0.8423 GB, free: 10.11 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 6.35e-05/0.003813, allocations: 193.2 kB / 0.8425 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.003851, allocations: 109 kB / 0.8426 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.72e-05/0.003888, allocations: 116.7 kB / 0.8427 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-05/0.003929, allocations: 176.3 kB / 0.8429 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001131/0.004042, allocations: 184.2 kB / 0.843 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.473e-05/0.004077, allocations: 180.2 kB / 0.8432 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.004201, allocations: 329.4 kB / 0.8435 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.178e-05/0.004222, allocations: 108.9 kB / 0.8436 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.34e-05/0.004246, allocations: 101 kB / 0.8437 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-05/0.004283, allocations: 184.2 kB / 0.8439 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.004323, allocations: 188.2 kB / 0.8441 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-05/0.004358, allocations: 180.3 kB / 0.8443 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.624e-05/0.004395, allocations: 180.4 kB / 0.8444 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.332e-05/0.004478, allocations: 319.7 kB / 0.8447 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.00451, allocations: 108.9 kB / 0.8448 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.004555, allocations: 184.3 kB / 0.845 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.454e-05/0.0046, allocations: 104.9 kB / 0.8451 GB, free: 7.066 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.004643, allocations: 180.2 kB / 0.8453 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.004671, allocations: 112.9 kB / 0.8454 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.066e-05/0.004692, allocations: 24.83 kB / 0.8454 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004692, allocations: 3.938 kB / 0.8454 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001291/0.004821, allocations: 15.95 kB / 0.8454 GB, free: 6.719 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 7.098e-05/0.004892, allocations: 151.7 kB / 0.8456 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.28e-05/0.004945, allocations: 24.78 kB / 0.8456 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.004948, allocations: 4 kB / 0.8456 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.004949, allocations: 0 / 0.8456 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.005135, allocations: 465.3 kB / 0.846 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001911/0.005326, allocations: 228.4 kB / 0.8463 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.812e-05/0.005354, allocations: 59.34 kB / 0.8463 GB, free: 5.746 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.018e-05/0.005384, allocations: 12.72 kB / 0.8463 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.005409, allocations: 51.38 kB / 0.8464 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of SimCode: time 3.2e-07/0.005409, allocations: 0 / 0.8464 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of Templates: time 0.001797/0.007206, allocations: 339.5 kB / 0.8467 GB, free: 5.355 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.453523855190724]