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.00156/0.00156, allocations: 92.7 kB / 19.44 MB, free: 324 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.001784/0.001784, allocations: 161.7 kB / 22.75 MB, free: 1.656 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.497/1.497, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.288/3.288, allocations: 429.6 MB / 0.673 GB, free: 3.867 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.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 5.46e-06/5.46e-06, allocations: 3.984 kB / 0.8776 GB, free: 5.277 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.932e-05/3.478e-05, allocations: 2.312 kB / 0.8776 GB, free: 5.273 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002713/0.002747, allocations: 0.7924 MB / 0.8784 GB, free: 4.512 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001731/0.00292, allocations: 47 kB / 0.8784 GB, free: 4.469 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.996e-05/0.00299, allocations: 4 kB / 0.8784 GB, free: 4.465 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.81e-05/0.003038, allocations: 7.875 kB / 0.8784 GB, free: 4.457 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.00315, allocations: 9.891 kB / 0.8784 GB, free: 4.449 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 7.448e-05/0.003225, allocations: 23.84 kB / 0.8785 GB, free: 4.43 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.000164/0.003389, allocations: 65.38 kB / 0.8785 GB, free: 4.367 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.00354, allocations: 19.98 kB / 0.8785 GB, free: 4.348 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.003687, allocations: 47.77 kB / 0.8786 GB, free: 4.301 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.019e-05/0.003747, allocations: 19.91 kB / 0.8786 GB, free: 4.281 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.003779, allocations: 8 kB / 0.8786 GB, free: 4.273 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.357e-05/0.003792, allocations: 4 kB / 0.8786 GB, free: 4.27 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.021e-05/0.003822, allocations: 19.92 kB / 0.8786 GB, free: 4.25 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 5.645e-05/0.003879, allocations: 23.92 kB / 0.8787 GB, free: 4.227 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.004037, allocations: 67.7 kB / 0.8787 GB, free: 4.16 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.004045, allocations: 4.594 kB / 0.8787 GB, free: 4.156 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.343e-06/0.004047, allocations: 0 / 0.8787 GB, free: 4.156 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.004051, allocations: 1.125 kB / 0.8787 GB, free: 4.156 MB / 0.7917 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.0008019/0.004853, allocations: 302 kB / 0.879 GB, free: 3.828 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.004899, allocations: 15.5 kB / 0.879 GB, free: 3.816 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.561e-05/0.004965, allocations: 16.89 kB / 0.879 GB, free: 3.801 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.005221, allocations: 133.6 kB / 0.8792 GB, free: 3.645 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.005238, allocations: 4.375 kB / 0.8792 GB, free: 3.641 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.005255, allocations: 8.375 kB / 0.8792 GB, free: 3.633 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.005493, allocations: 89.98 kB / 0.8793 GB, free: 3.535 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.005506, allocations: 8.109 kB / 0.8793 GB, free: 3.527 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.005525, allocations: 8.375 kB / 0.8793 GB, free: 3.52 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.005531, allocations: 4.312 kB / 0.8793 GB, free: 3.516 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.005644, allocations: 36.77 kB / 0.8793 GB, free: 3.48 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007042/0.006349, allocations: 361 kB / 0.8797 GB, free: 3.094 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 9.818e-05/0.006447, allocations: 37.34 kB / 0.8797 GB, free: 3.039 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.006503, allocations: 19.06 kB / 0.8797 GB, free: 3.016 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.00651, allocations: 0 / 0.8797 GB, free: 3.016 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.006555, allocations: 35.94 kB / 0.8798 GB, free: 2.973 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 3.967e-06/0.006559, allocations: 7.922 kB / 0.8798 GB, free: 2.965 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0002467/0.006806, allocations: 49.89 kB / 0.8798 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/0.006888, allocations: 85.05 kB / 0.8799 GB, free: 2.809 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.007069, allocations: 132.5 kB / 0.88 GB, free: 2.672 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.007094, allocations: 25.7 kB / 0.88 GB, free: 2.641 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.007209, allocations: 119.9 kB / 0.8802 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.738e-06/0.007219, allocations: 3.953 kB / 0.8802 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.007263, allocations: 13.72 kB / 0.8802 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002145/0.007478, allocations: 314.8 kB / 0.8805 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.834e-05/0.007506, allocations: 11.98 kB / 0.8805 GB, free: 2.168 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.63e-05/0.007542, allocations: 17.72 kB / 0.8805 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.645e-05/0.007609, allocations: 29.72 kB / 0.8805 GB, free: 2.109 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.007611, allocations: 0 / 0.8805 GB, free: 2.109 MB / 0.7917 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001277/0.007738, allocations: 57.58 kB / 0.8806 GB, free: 2.047 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.007758, allocations: 8 kB / 0.8806 GB, free: 2.039 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.007764, allocations: 0 / 0.8806 GB, free: 2.039 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.007787, allocations: 0 / 0.8806 GB, free: 2.039 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.56e-05/0.007862, allocations: 4 kB / 0.8806 GB, free: 2.035 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/0.007881, allocations: 11.88 kB / 0.8806 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.007913, allocations: 0 / 0.8806 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.007921, allocations: 4.062 kB / 0.8806 GB, free: 2.02 MB / 0.7917 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.0001158/0.008037, allocations: 113.8 kB / 0.8807 GB, free: 1.898 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/0.0081, allocations: 11.95 kB / 0.8807 GB, free: 1.887 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.008132, allocations: 11.45 kB / 0.8807 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.008135, allocations: 0 / 0.8807 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.008141, allocations: 0 / 0.8807 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.008149, allocations: 3.938 kB / 0.8808 GB, free: 1.871 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005654/0.008714, allocations: 418.4 kB / 0.8811 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.008718, allocations: 4 kB / 0.8812 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.899e-05/0.008747, allocations: 4 kB / 0.8812 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.00875, allocations: 4.062 kB / 0.8812 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.008761, allocations: 3.938 kB / 0.8812 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.008762, allocations: 0 / 0.8812 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.008763, allocations: 4 kB / 0.8812 GB, free: 1.398 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.008897, allocations: 77.88 kB / 0.8812 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.008931, allocations: 8 kB / 0.8813 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.008951, allocations: 3.938 kB / 0.8813 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.784e-05/0.008979, allocations: 0 / 0.8813 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.008994, allocations: 0 / 0.8813 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.008996, allocations: 4 kB / 0.8813 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001099/0.009106, allocations: 107.3 kB / 0.8814 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.7e-07/0.009106, allocations: 0 / 0.8814 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000334/0.00944, allocations: 11.95 kB / 0.8814 GB, free: 1.168 MB / 0.7917 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.0001524/0.009593, allocations: 91.25 kB / 0.8815 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.009703, allocations: 19.94 kB / 0.8815 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.009705, allocations: 0 / 0.8815 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.594e-05/0.009721, allocations: 4 kB / 0.8815 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.009949, allocations: 14.25 kB / 0.8815 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004589/0.01041, allocations: 170.8 kB / 0.8817 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.912e-05/0.01051, allocations: 71.33 kB / 0.8817 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 4.015e-05/0.01055, allocations: 7.984 kB / 0.8817 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.01059, allocations: 12.5 kB / 0.8817 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of SimCode: time 4.81e-07/0.01059, allocations: 3.938 kB / 0.8817 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of Templates: time 0.003483/0.01407, allocations: 345.4 kB / 0.8821 GB, free: 396 kB / 0.7917 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.164294516900554]