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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001182, allocations: 105.2 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 193.1 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.601/2.601, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.88 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3457, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002383/0.3482, allocations: 0.8409 MB / 1.028 GB, free: 1.23 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001293/0.3483, allocations: 43.78 kB / 1.028 GB, free: 1.188 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.3484, allocations: 0 / 1.028 GB, free: 1.188 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.814e-05/0.3484, allocations: 11.88 kB / 1.028 GB, free: 1.176 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.904e-05/0.3485, allocations: 11.92 kB / 1.028 GB, free: 1.164 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.324e-05/0.3486, allocations: 19.92 kB / 1.028 GB, free: 1.145 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.3487, allocations: 59.84 kB / 1.028 GB, free: 1.086 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.3489, allocations: 43.97 kB / 1.028 GB, free: 1.043 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.157e-05/0.3489, allocations: 31.84 kB / 1.028 GB, free: 1.012 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.052e-05/0.349, allocations: 23.86 kB / 1.028 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.349, allocations: 8 kB / 1.028 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.349, allocations: 4 kB / 1.028 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.3491, allocations: 19.86 kB / 1.028 GB, free: 0.957 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.3491, allocations: 35.73 kB / 1.028 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.3492, allocations: 75.7 kB / 1.028 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3492, allocations: 0 / 1.028 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3493, allocations: 0 / 1.028 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.657e-06/0.3493, allocations: 4 kB / 1.028 GB, free: 0.8438 MB / 0.795 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.0004417/0.3497, allocations: 375.2 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3498, allocations: 8.031 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.3498, allocations: 12.84 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.35, allocations: 192.1 kB / 1.028 GB, free: 184 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.35, allocations: 12.28 kB / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.3501, allocations: 4.375 kB / 1.028 GB, free: 168 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.3502, allocations: 91.95 kB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3503, allocations: 8.172 kB / 1.029 GB, free: 56 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3503, allocations: 7.922 kB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3503, allocations: 0 / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.222e-05/0.3504, allocations: 39.92 kB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/0.3509, allocations: 428.5 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.579e-05/0.351, allocations: 45.28 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.351, allocations: 21.84 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.351, allocations: 0 / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.3511, allocations: 34.55 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 4.348e-06/0.3511, allocations: 4 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001753/0.3512, allocations: 57.48 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.3513, allocations: 81.05 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.3514, allocations: 163.9 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.3515, allocations: 25.7 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.3515, allocations: 104 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.069e-05/0.3515, allocations: 15.83 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.3516, allocations: 13.97 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3517, allocations: 326.8 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/0.3517, allocations: 8 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.352e-05/0.3518, allocations: 17.7 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.139e-05/0.3518, allocations: 25.72 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3518, allocations: 0 / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.041e-05/0.3519, allocations: 57.55 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3519, allocations: 8 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3519, allocations: 3.938 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.352, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.679e-05/0.352, allocations: 11.98 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3521, allocations: 0 / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.907e-05/0.3521, allocations: 7.844 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.3521, allocations: 4 kB / 1.03 GB, free: 14.41 MB / 0.8106 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 7.379e-05/0.3522, allocations: 121.7 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.3522, allocations: 11.97 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.3523, allocations: 15.8 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3523, allocations: 0 / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3523, allocations: 4 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3523, allocations: 0 / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003979/0.3527, allocations: 478.7 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3527, allocations: 0 / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.3527, allocations: 8.062 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3527, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-06/0.3527, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3528, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3528, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.965e-05/0.3528, allocations: 81.83 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.3529, allocations: 85.02 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.3529, allocations: 11.97 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.134e-05/0.353, allocations: 3.984 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.353, allocations: 0 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.353, allocations: 0 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.154e-05/0.3531, allocations: 121.7 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.503e-06/0.3531, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001856/0.3533, allocations: 11.94 kB / 1.031 GB, free: 13.36 MB / 0.8106 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.0001237/0.3534, allocations: 95.25 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.58e-05/0.3535, allocations: 20 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3535, allocations: 3.938 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.169e-05/0.3535, allocations: 8 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.3537, allocations: 15.92 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.354, allocations: 154.8 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.3543, allocations: 0.6931 MB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.499e-05/0.3543, allocations: 12.5 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.3544, allocations: 11.44 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3544, allocations: 0 / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of Templates: time 0.00285/0.3572, allocations: 456.4 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches