Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.0011/0.0011, 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.001002/0.001002, 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.9524/0.9524, allocations: 177.2 MB / 203.8 MB, free: 5.453 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.411/2.411, allocations: 438.8 MB / 0.6827 GB, free: 13.58 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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.492e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001648/0.001663, allocations: 0.823 MB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001421/0.001805, allocations: 51.72 kB / 0.8394 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.001855, allocations: 0 / 0.8394 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.762e-05/0.001892, allocations: 7.875 kB / 0.8394 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.296e-05/0.001975, allocations: 15.8 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 4.461e-05/0.00202, allocations: 15.98 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.002124, allocations: 63.84 kB / 0.8395 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.002236, allocations: 31.95 kB / 0.8396 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.002349, allocations: 51.83 kB / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.205e-05/0.002391, allocations: 19.91 kB / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.002411, allocations: 4 kB / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.916e-06/0.00242, allocations: 4 kB / 0.8396 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.002441, allocations: 11.94 kB / 0.8396 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.002464, allocations: 8 kB / 0.8397 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.144e-05/0.002556, allocations: 47.7 kB / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.002559, allocations: 4 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.91e-07/0.002559, allocations: 0 / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.935e-06/0.002562, allocations: 0 / 0.8397 GB, free: 13.03 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.000308/0.00287, allocations: 288.5 kB / 0.84 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.002906, allocations: 16.62 kB / 0.84 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.002934, allocations: 4.938 kB / 0.84 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.003066, allocations: 133.7 kB / 0.8401 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.003075, allocations: 384 / 0.8401 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.003091, allocations: 12.38 kB / 0.8401 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.003207, allocations: 87.77 kB / 0.8402 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.003215, allocations: 192 / 0.8402 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.003224, allocations: 384 / 0.8402 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.00323, allocations: 384 / 0.8402 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.483e-05/0.003265, allocations: 23.92 kB / 0.8402 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.003671, allocations: 0.5089 MB / 0.8407 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.294e-05/0.003743, allocations: 165.1 kB / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.003772, allocations: 84.14 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.003793, allocations: 75.28 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.003837, allocations: 113.8 kB / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.003838, allocations: 0 / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.125e-05/0.003899, allocations: 37.62 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.003954, allocations: 126.7 kB / 0.8413 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.004057, allocations: 138.6 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.004067, allocations: 25.7 kB / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.66e-05/0.004133, allocations: 135.7 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.004135, allocations: 0 / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.004169, allocations: 33.64 kB / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.353e-05/0.004252, allocations: 322.8 kB / 0.8419 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-06/0.004262, allocations: 7.984 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.599e-05/0.004298, allocations: 54.86 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.989e-05/0.004358, allocations: 70.72 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.00436, allocations: 4 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001016/0.004461, allocations: 73.48 kB / 0.8421 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.004479, allocations: 6.344 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.004485, allocations: 4 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.004499, allocations: 8.25 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.746e-05/0.004546, allocations: 8 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.004552, allocations: 7.938 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/0.004587, allocations: 11.92 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.004591, allocations: 4 kB / 0.8422 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 7.327e-05/0.004665, allocations: 193.1 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.00471, allocations: 104.9 kB / 0.8425 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.004751, allocations: 112.8 kB / 0.8426 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-05/0.004799, allocations: 184.3 kB / 0.8428 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-05/0.004846, allocations: 180.2 kB / 0.8429 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.42e-05/0.00489, allocations: 184.2 kB / 0.8431 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.005056, allocations: 337.3 kB / 0.8434 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-05/0.00508, allocations: 101 kB / 0.8435 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.663e-05/0.005107, allocations: 105 kB / 0.8436 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.325e-05/0.00515, allocations: 184.2 kB / 0.8438 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-05/0.005194, allocations: 180.2 kB / 0.844 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.533e-05/0.00524, allocations: 184.2 kB / 0.8442 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.297e-05/0.005283, allocations: 180.5 kB / 0.8443 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.685e-05/0.00538, allocations: 315.7 kB / 0.8446 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.005419, allocations: 108.9 kB / 0.8447 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/0.005471, allocations: 188.2 kB / 0.8449 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.171e-05/0.005533, allocations: 105 kB / 0.845 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.005576, allocations: 180.3 kB / 0.8452 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.005603, allocations: 108.9 kB / 0.8453 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.546e-05/0.005629, allocations: 30.31 kB / 0.8453 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.005629, allocations: 0 / 0.8453 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001971/0.005826, allocations: 11.95 kB / 0.8453 GB, free: 6.867 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 8.66e-05/0.005912, allocations: 151.7 kB / 0.8455 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.211e-05/0.005975, allocations: 33.23 kB / 0.8455 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.005978, allocations: 0 / 0.8455 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.005979, allocations: 0 / 0.8455 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.006216, allocations: 472.5 kB / 0.846 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.006436, allocations: 224 kB / 0.8462 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.605e-05/0.006472, allocations: 63.33 kB / 0.8462 GB, free: 5.883 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.107e-05/0.006503, allocations: 4.734 kB / 0.8462 GB, free: 5.875 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.006536, allocations: 55.44 kB / 0.8463 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of SimCode: time 4.1e-07/0.006536, allocations: 4 kB / 0.8463 GB, free: 5.816 MB / 0.8073 GB Notification: Performance of Templates: time 0.001805/0.008341, allocations: 332.5 kB / 0.8466 GB, free: 5.492 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_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.265136003028601]