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.002355/0.002355, allocations: 85.48 kB / 19.44 MB, free: 344 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.002929/0.002929, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.71/1.71, allocations: 177.1 MB / 203.1 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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 3.464/3.464, allocations: 429.4 MB / 0.6729 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 176] 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.904e-06/1.904e-06, allocations: 0 / 0.8774 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.399e-05/4.59e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002343/0.002388, allocations: 0.812 MB / 0.8782 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000147/0.002535, allocations: 44.78 kB / 0.8783 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.043e-05/0.002596, allocations: 4 kB / 0.8783 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.957e-05/0.002635, allocations: 9.125 kB / 0.8783 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.002739, allocations: 11.92 kB / 0.8783 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.724e-05/0.002796, allocations: 15.98 kB / 0.8783 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.002936, allocations: 64.5 kB / 0.8784 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.003094, allocations: 27.97 kB / 0.8784 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.173e-05/0.003186, allocations: 37.56 kB / 0.8785 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.963e-05/0.003256, allocations: 19.91 kB / 0.8785 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.003279, allocations: 8 kB / 0.8785 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.003291, allocations: 4 kB / 0.8785 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.003315, allocations: 16.42 kB / 0.8785 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.003357, allocations: 25.55 kB / 0.8785 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.003501, allocations: 75.62 kB / 0.8786 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.003504, allocations: 0 / 0.8786 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.312e-06/0.003506, allocations: 0 / 0.8786 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.003511, allocations: 0 / 0.8786 GB, free: 5.527 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.0006031/0.004114, allocations: 416.5 kB / 0.879 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.004155, allocations: 9.375 kB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.004209, allocations: 12.89 kB / 0.879 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.004434, allocations: 140.4 kB / 0.8791 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.004449, allocations: 5.969 kB / 0.8792 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.004473, allocations: 12.31 kB / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.004653, allocations: 96.11 kB / 0.8793 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.004663, allocations: 192 / 0.8793 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.004676, allocations: 4.375 kB / 0.8793 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.004683, allocations: 6.062 kB / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.341e-05/0.004776, allocations: 43.84 kB / 0.8793 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006435/0.00542, allocations: 462.4 kB / 0.8797 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.88e-05/0.005519, allocations: 69.11 kB / 0.8798 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.307e-05/0.005562, allocations: 23.48 kB / 0.8798 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.005574, allocations: 4 kB / 0.8798 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.005608, allocations: 37.39 kB / 0.8799 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.005609, allocations: 0 / 0.8799 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001944/0.005804, allocations: 57.8 kB / 0.8799 GB, free: 4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.478e-05/0.005889, allocations: 81.11 kB / 0.88 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.006073, allocations: 196.6 kB / 0.8802 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.006092, allocations: 25.7 kB / 0.8802 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.006209, allocations: 162.7 kB / 0.8804 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.091e-05/0.00622, allocations: 7.938 kB / 0.8804 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.006265, allocations: 23.38 kB / 0.8804 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002598/0.006525, allocations: 0.4922 MB / 0.8809 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/0.006548, allocations: 7.984 kB / 0.8809 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.122e-05/0.006579, allocations: 23.38 kB / 0.8809 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.421e-05/0.006633, allocations: 31.41 kB / 0.8809 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.006636, allocations: 0 / 0.8809 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.808e-05/0.006734, allocations: 65.58 kB / 0.881 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.00676, allocations: 4 kB / 0.881 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.006766, allocations: 0 / 0.881 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.006781, allocations: 0 / 0.881 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.006844, allocations: 8 kB / 0.881 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.006851, allocations: 3.938 kB / 0.881 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.301e-05/0.006874, allocations: 0 / 0.881 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.006883, allocations: 8.062 kB / 0.881 GB, free: 2.785 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 0.000125/0.007008, allocations: 160.6 kB / 0.8812 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.007054, allocations: 15.88 kB / 0.8812 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.007082, allocations: 7.469 kB / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.007084, allocations: 0 / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.007087, allocations: 3.938 kB / 0.8812 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.007091, allocations: 7.938 kB / 0.8812 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000527/0.007618, allocations: 0.5616 MB / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.00762, allocations: 0 / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.728e-05/0.007637, allocations: 64 / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.007639, allocations: 8 kB / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.00765, allocations: 3.938 kB / 0.8818 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007651, allocations: 0 / 0.8818 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.007652, allocations: 0 / 0.8818 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.007777, allocations: 92.08 kB / 0.8819 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.007798, allocations: 3.953 kB / 0.8819 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.007817, allocations: 7.938 kB / 0.8819 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.718e-05/0.007834, allocations: 0 / 0.8819 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.007861, allocations: 7.922 kB / 0.8819 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.007865, allocations: 4 kB / 0.8819 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001074/0.007973, allocations: 151.2 kB / 0.882 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.007973, allocations: 0 / 0.882 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001843/0.008157, allocations: 8 kB / 0.882 GB, free: 1.66 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 0.000145/0.008302, allocations: 95.25 kB / 0.8821 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.008411, allocations: 23.69 kB / 0.8822 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.008412, allocations: 0 / 0.8822 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.337e-05/0.008436, allocations: 19.61 kB / 0.8822 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.008599, allocations: 8.25 kB / 0.8822 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.00897, allocations: 170.7 kB / 0.8823 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.826e-05/0.009058, allocations: 83.17 kB / 0.8824 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.751e-05/0.009086, allocations: 0 / 0.8824 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.009115, allocations: 12.5 kB / 0.8824 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of SimCode: time 4.01e-07/0.009115, allocations: 0 / 0.8824 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of Templates: time 0.003/0.01212, allocations: 356.1 kB / 0.8828 GB, free: 0.832 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.71944325196091]