Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.0009617/0.0009617, allocations: 80.88 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.001004/0.001004, allocations: 181 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 0.9494/0.9494, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.492/2.492, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.739e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001422/0.001439, allocations: 0.8564 MB / 0.8395 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001338/0.001573, allocations: 43.72 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.741e-05/0.00162, allocations: 7.938 kB / 0.8395 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.001657, allocations: 11.86 kB / 0.8395 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.343e-05/0.00173, allocations: 7.875 kB / 0.8395 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.916e-05/0.00177, allocations: 27.97 kB / 0.8396 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.683e-05/0.001856, allocations: 59.84 kB / 0.8396 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.994e-05/0.001956, allocations: 27.95 kB / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.37e-05/0.00205, allocations: 47.83 kB / 0.8397 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.703e-05/0.002087, allocations: 15.92 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.002104, allocations: 4 kB / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-06/0.002112, allocations: 8 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.00213, allocations: 11.92 kB / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.002151, allocations: 19.92 kB / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.432e-05/0.002235, allocations: 47.77 kB / 0.8398 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.002237, allocations: 4 kB / 0.8398 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.61e-07/0.002237, allocations: 0 / 0.8398 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.002241, allocations: 0 / 0.8398 GB, free: 12.97 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.0002726/0.002514, allocations: 280.6 kB / 0.8401 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.002549, allocations: 8.625 kB / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.577e-05/0.002575, allocations: 12.92 kB / 0.8401 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.002699, allocations: 133.7 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.00271, allocations: 8.375 kB / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.002718, allocations: 4.375 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.079e-05/0.002809, allocations: 83.78 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.002818, allocations: 12.11 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.002827, allocations: 4.375 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.002835, allocations: 8.359 kB / 0.8403 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.912e-05/0.002864, allocations: 19.88 kB / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.003212, allocations: 0.4972 MB / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.709e-05/0.003269, allocations: 173.1 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.003291, allocations: 80.14 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.003307, allocations: 75.28 kB / 0.8411 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.003341, allocations: 109.8 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.663e-06/0.003342, allocations: 4 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.993e-05/0.003392, allocations: 29.73 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.00343, allocations: 130.7 kB / 0.8414 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.777e-05/0.003518, allocations: 146.6 kB / 0.8415 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.003527, allocations: 29.7 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.003579, allocations: 123.8 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-06/0.003581, allocations: 0 / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.003608, allocations: 29.66 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.709e-05/0.003695, allocations: 326.8 kB / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.952e-06/0.003701, allocations: 0 / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.142e-05/0.003733, allocations: 58.84 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.865e-05/0.003781, allocations: 66.73 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.003784, allocations: 4 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.318e-05/0.003867, allocations: 77.52 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.003881, allocations: 10.03 kB / 0.8422 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.003886, allocations: 0 / 0.8422 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.003899, allocations: 4 kB / 0.8422 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.765e-05/0.003947, allocations: 15.98 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.003953, allocations: 7.938 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.003975, allocations: 11.94 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.003979, allocations: 0 / 0.8423 GB, free: 10.2 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 7.099e-05/0.00405, allocations: 193.3 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.004088, allocations: 116.9 kB / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.699e-05/0.004125, allocations: 112.8 kB / 0.8427 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.882e-05/0.004164, allocations: 176.3 kB / 0.8429 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.134e-05/0.004205, allocations: 180.2 kB / 0.843 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.192e-05/0.004247, allocations: 188.2 kB / 0.8432 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.004377, allocations: 333.3 kB / 0.8435 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.5e-05/0.004402, allocations: 105 kB / 0.8436 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.459e-05/0.004426, allocations: 105 kB / 0.8437 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.332e-05/0.00447, allocations: 180.2 kB / 0.8439 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.004509, allocations: 180.3 kB / 0.8441 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-05/0.004549, allocations: 184.2 kB / 0.8442 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.766e-05/0.004586, allocations: 180.5 kB / 0.8444 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.113e-05/0.004677, allocations: 315.7 kB / 0.8447 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.004717, allocations: 120.9 kB / 0.8448 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.004762, allocations: 180.2 kB / 0.845 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.739e-05/0.004809, allocations: 105 kB / 0.8451 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/0.005013, allocations: 176.3 kB / 0.8453 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.005036, allocations: 104.9 kB / 0.8454 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.379e-05/0.005059, allocations: 31.06 kB / 0.8454 GB, free: 6.828 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00506, allocations: 0 / 0.8454 GB, free: 6.828 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001273/0.005187, allocations: 15.95 kB / 0.8454 GB, free: 6.812 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.512e-05/0.005262, allocations: 155.7 kB / 0.8456 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.382e-05/0.005316, allocations: 24.78 kB / 0.8456 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.005319, allocations: 4 kB / 0.8456 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.005321, allocations: 3.938 kB / 0.8456 GB, free: 6.617 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.005508, allocations: 463.6 kB / 0.846 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001918/0.0057, allocations: 224 kB / 0.8462 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.083e-05/0.005731, allocations: 59.84 kB / 0.8463 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.959e-05/0.00576, allocations: 12.72 kB / 0.8463 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.005785, allocations: 51.38 kB / 0.8464 GB, free: 5.77 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.005786, allocations: 0 / 0.8464 GB, free: 5.77 MB / 0.8073 GB Notification: Performance of Templates: time 0.00167/0.007456, allocations: 340.7 kB / 0.8467 GB, free: 5.438 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.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.235625334084034]