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.0009249/0.0009249, allocations: 93.06 kB / 19.65 MB, free: 280 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.001033/0.001033, allocations: 169.3 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.9618/0.9618, allocations: 177.1 MB / 203.4 MB, free: 5.586 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.162/2.162, allocations: 429.5 MB / 0.6733 GB, free: 4.012 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 1.362e-06/1.362e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.671e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001496/0.001523, allocations: 0.8197 MB / 0.879 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001126/0.001635, allocations: 40.88 kB / 0.879 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.001685, allocations: 4 kB / 0.879 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.92e-05/0.001724, allocations: 11.86 kB / 0.879 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.476e-05/0.001799, allocations: 10.61 kB / 0.879 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.255e-05/0.001841, allocations: 25.75 kB / 0.8791 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.104e-05/0.001932, allocations: 59.78 kB / 0.8791 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.002055, allocations: 31.97 kB / 0.8792 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.836e-05/0.002123, allocations: 39.89 kB / 0.8792 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.249e-05/0.002176, allocations: 15.92 kB / 0.8792 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.002196, allocations: 11.66 kB / 0.8792 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.883e-06/0.002203, allocations: 4 kB / 0.8792 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.002224, allocations: 19.91 kB / 0.8792 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.002251, allocations: 15.94 kB / 0.8793 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.063e-05/0.002341, allocations: 47.77 kB / 0.8793 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002343, allocations: 0 / 0.8793 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.52e-07/0.002344, allocations: 0 / 0.8793 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.002348, allocations: 0 / 0.8793 GB, free: 5.156 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.0003701/0.002718, allocations: 408.3 kB / 0.8797 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.002758, allocations: 8.906 kB / 0.8797 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.002796, allocations: 12.89 kB / 0.8797 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.002948, allocations: 141.3 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.002959, allocations: 4.375 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.002974, allocations: 8.375 kB / 0.8799 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.003092, allocations: 95.67 kB / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.003102, allocations: 192 / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.003113, allocations: 4.359 kB / 0.88 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.003122, allocations: 4.375 kB / 0.88 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.449e-05/0.003167, allocations: 27.86 kB / 0.88 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.003568, allocations: 474.3 kB / 0.8804 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.63e-05/0.003634, allocations: 54.19 kB / 0.8805 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.294e-05/0.003667, allocations: 24.06 kB / 0.8805 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.003677, allocations: 0.5938 kB / 0.8805 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.003702, allocations: 41.42 kB / 0.8806 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.003704, allocations: 0.6875 kB / 0.8806 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000141/0.003844, allocations: 46.59 kB / 0.8806 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.003882, allocations: 81.11 kB / 0.8807 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.577e-05/0.003978, allocations: 187.4 kB / 0.8809 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.003987, allocations: 25.7 kB / 0.8809 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/0.004048, allocations: 158.7 kB / 0.881 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.108e-06/0.004057, allocations: 11.89 kB / 0.881 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.004083, allocations: 19.62 kB / 0.8811 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.00419, allocations: 0.4923 MB / 0.8815 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/0.004203, allocations: 4 kB / 0.8815 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.973e-05/0.004223, allocations: 19.38 kB / 0.8816 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.517e-05/0.004258, allocations: 31.31 kB / 0.8816 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.00426, allocations: 0 / 0.8816 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.022e-05/0.00432, allocations: 57.58 kB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.004333, allocations: 4 kB / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.004339, allocations: 64 / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.004355, allocations: 4 kB / 0.8817 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.776e-05/0.004412, allocations: 11.94 kB / 0.8817 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.004419, allocations: 3.938 kB / 0.8817 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.498e-05/0.004434, allocations: 0 / 0.8817 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.004439, allocations: 4 kB / 0.8817 GB, free: 2.48 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.643e-05/0.004506, allocations: 160.6 kB / 0.8818 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.004544, allocations: 7.953 kB / 0.8818 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.004571, allocations: 3.469 kB / 0.8818 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.004574, allocations: 4 kB / 0.8818 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.004577, allocations: 0 / 0.8818 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.004583, allocations: 7.938 kB / 0.8819 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.00486, allocations: 0.5422 MB / 0.8824 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.004861, allocations: 0 / 0.8824 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.228e-05/0.004874, allocations: 4 kB / 0.8824 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.004876, allocations: 0 / 0.8824 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.004885, allocations: 7.938 kB / 0.8824 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.004886, allocations: 0 / 0.8824 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.004887, allocations: 0 / 0.8824 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.147e-05/0.004948, allocations: 92.02 kB / 0.8825 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.004966, allocations: 12.05 kB / 0.8825 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.004978, allocations: 3.938 kB / 0.8825 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-06/0.004987, allocations: 0 / 0.8825 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.005003, allocations: 3.984 kB / 0.8825 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.005006, allocations: 8 kB / 0.8825 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.024e-05/0.005056, allocations: 146.8 kB / 0.8826 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005056, allocations: 0 / 0.8826 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001213/0.005178, allocations: 11.94 kB / 0.8827 GB, free: 1.387 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.166e-05/0.005249, allocations: 95.25 kB / 0.8828 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.051e-05/0.00532, allocations: 27.61 kB / 0.8828 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.005321, allocations: 0 / 0.8828 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.355e-06/0.00533, allocations: 11.69 kB / 0.8828 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/0.00544, allocations: 8.688 kB / 0.8828 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/0.00571, allocations: 170.6 kB / 0.883 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.092e-05/0.005751, allocations: 63.28 kB / 0.883 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.691e-05/0.005778, allocations: 4.234 kB / 0.883 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.005802, allocations: 16.5 kB / 0.883 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/0.005803, allocations: 0 / 0.883 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of Templates: time 0.002068/0.007871, allocations: 349.2 kB / 0.8834 GB, free: 0.582 MB / 0.8386 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.688670842908323]