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.001419/0.001419, allocations: 92.22 kB / 19.65 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.0016/0.0016, allocations: 173 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 0.9593/0.9593, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.064/2.064, allocations: 429.5 MB / 0.6732 GB, free: 4.066 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.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 2.164e-06/2.164e-06, allocations: 0 / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/3.035e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001527/0.001557, allocations: 0.8258 MB / 0.879 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000116/0.001674, allocations: 43.78 kB / 0.879 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.001721, allocations: 0 / 0.879 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.971e-05/0.00176, allocations: 13.48 kB / 0.879 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.782e-05/0.001838, allocations: 15.81 kB / 0.8791 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.092e-05/0.001879, allocations: 15.98 kB / 0.8791 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.333e-05/0.001972, allocations: 63.83 kB / 0.8791 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.00209, allocations: 27.97 kB / 0.8792 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.297e-05/0.002183, allocations: 40.88 kB / 0.8792 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.144e-05/0.002224, allocations: 23.91 kB / 0.8792 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.002244, allocations: 5.062 kB / 0.8792 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.214e-06/0.002252, allocations: 4 kB / 0.8792 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.00227, allocations: 11.94 kB / 0.8792 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.002303, allocations: 21 kB / 0.8793 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.002403, allocations: 47.77 kB / 0.8793 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.002407, allocations: 0 / 0.8793 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.373e-06/0.002408, allocations: 1.125 kB / 0.8793 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.002413, allocations: 0 / 0.8793 GB, free: 5.207 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.0003901/0.002803, allocations: 409.1 kB / 0.8797 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.002843, allocations: 8.031 kB / 0.8797 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.002886, allocations: 12.89 kB / 0.8797 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.00303, allocations: 144.9 kB / 0.8799 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.003041, allocations: 6.219 kB / 0.8799 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.003054, allocations: 12.36 kB / 0.8799 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.003186, allocations: 85.61 kB / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.003193, allocations: 192 / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.003204, allocations: 384 / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.003213, allocations: 5.719 kB / 0.88 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.477e-05/0.003258, allocations: 27.86 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005052/0.003763, allocations: 0.7453 MB / 0.8807 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.647e-05/0.003859, allocations: 274.5 kB / 0.881 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.003894, allocations: 126.9 kB / 0.8811 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.003924, allocations: 123.8 kB / 0.8812 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.003969, allocations: 156.6 kB / 0.8814 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 2.765e-06/0.003971, allocations: 9.578 kB / 0.8814 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.473e-05/0.004036, allocations: 33.64 kB / 0.8814 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.004096, allocations: 178.5 kB / 0.8816 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.004216, allocations: 196.3 kB / 0.8818 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.004223, allocations: 28.3 kB / 0.8818 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.004292, allocations: 178.5 kB / 0.882 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-06/0.004296, allocations: 0 / 0.882 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.00433, allocations: 35.33 kB / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.004437, allocations: 496.1 kB / 0.8825 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.004451, allocations: 4 kB / 0.8825 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.193e-05/0.004493, allocations: 77.44 kB / 0.8825 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.65e-05/0.004569, allocations: 96.08 kB / 0.8826 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.004572, allocations: 1.656 kB / 0.8826 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000134/0.004706, allocations: 79.03 kB / 0.8827 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.004722, allocations: 8 kB / 0.8827 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.004728, allocations: 0 / 0.8827 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.004745, allocations: 4.25 kB / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.00481, allocations: 23.92 kB / 0.8827 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.004819, allocations: 7.938 kB / 0.8828 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.604e-05/0.004845, allocations: 11.95 kB / 0.8828 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.004851, allocations: 4 kB / 0.8828 GB, free: 1.371 MB / 0.8386 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.039e-05/0.004941, allocations: 279.7 kB / 0.883 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.004991, allocations: 156.8 kB / 0.8832 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.00504, allocations: 156.7 kB / 0.8833 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.898e-05/0.005099, allocations: 268 kB / 0.8836 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.958e-05/0.005159, allocations: 276 kB / 0.8839 GB, free: 224 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.147e-05/0.00523, allocations: 268.1 kB / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.005409, allocations: 0.5115 MB / 0.8846 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.368e-05/0.005442, allocations: 144.9 kB / 0.8847 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.687e-05/0.005489, allocations: 156.8 kB / 0.8849 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.928e-05/0.005569, allocations: 264.1 kB / 0.8851 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.232e-05/0.005641, allocations: 268.1 kB / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-05/0.005709, allocations: 272 kB / 0.8857 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.606e-05/0.005775, allocations: 264.1 kB / 0.8859 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.005923, allocations: 459.8 kB / 0.8864 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.005973, allocations: 156.8 kB / 0.8865 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.489e-05/0.006038, allocations: 268 kB / 0.8868 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.27e-05/0.006091, allocations: 148.9 kB / 0.8869 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.006156, allocations: 276.3 kB / 0.8872 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.006189, allocations: 148.8 kB / 0.8873 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.463e-05/0.006243, allocations: 141.1 kB / 0.8874 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006243, allocations: 0 / 0.8874 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001613/0.006405, allocations: 12 kB / 0.8875 GB, free: 12.38 MB / 0.8542 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.0001286/0.006533, allocations: 218.4 kB / 0.8877 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.81e-05/0.006631, allocations: 35.91 kB / 0.8877 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.006634, allocations: 4.188 kB / 0.8877 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.006635, allocations: 0 / 0.8877 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.006929, allocations: 0.7062 MB / 0.8884 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.007215, allocations: 269.7 kB / 0.8886 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.541e-05/0.00725, allocations: 63.28 kB / 0.8887 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.369e-05/0.007284, allocations: 4.734 kB / 0.8887 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.007307, allocations: 16.5 kB / 0.8887 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of SimCode: time 7.92e-07/0.007308, allocations: 0 / 0.8887 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of Templates: time 0.00204/0.009348, allocations: 330.8 kB / 0.889 GB, free: 10.68 MB / 0.8542 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 -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.141366270836443]