Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008776/0.008776, allocations: 101.7 kB / 15.73 MB, free: 6.469 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.001568/0.001569, allocations: 193.2 kB / 16.67 MB, free: 6.379 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.52/2.52, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.98 kB / 0.9509 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3543, allocations: 140.4 MB / 1.088 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.003464/0.3579, allocations: 0.8254 MB / 1.089 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001769/0.3581, allocations: 43.78 kB / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.615e-05/0.3582, allocations: 0 / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.574e-05/0.3582, allocations: 7.875 kB / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.3584, allocations: 15.86 kB / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.955e-05/0.3585, allocations: 15.98 kB / 1.089 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.3587, allocations: 59.84 kB / 1.089 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.3589, allocations: 51.95 kB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.975e-05/0.359, allocations: 27.86 kB / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.535e-05/0.3591, allocations: 27.8 kB / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.3592, allocations: 8 kB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.3592, allocations: 8 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.789e-05/0.3592, allocations: 15.92 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.064e-05/0.3593, allocations: 39.73 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.3595, allocations: 71.64 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.3596, allocations: 0 / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of FrontEnd: time 3.436e-06/0.3596, allocations: 0 / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.3596, allocations: 0 / 1.089 GB, free: 404 kB / 0.8419 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.0007682/0.3604, allocations: 371.4 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.412e-05/0.3604, allocations: 8.031 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/0.3605, allocations: 24.69 kB / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.3609, allocations: 196 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.3609, allocations: 8.375 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.3609, allocations: 4.375 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.3612, allocations: 96.98 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3612, allocations: 192 / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.3612, allocations: 7.938 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.3612, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.3614, allocations: 39.97 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008034/0.3622, allocations: 436.5 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.593e-05/0.3623, allocations: 37.16 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.317e-05/0.3624, allocations: 25.84 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.3624, allocations: 0 / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.3624, allocations: 38.58 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.3624, allocations: 0 / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002523/0.3627, allocations: 57.48 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.3628, allocations: 77.11 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.363, allocations: 165.1 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.363, allocations: 25.7 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.491e-05/0.3631, allocations: 100 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.3631, allocations: 7.906 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.3632, allocations: 13.72 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3634, allocations: 322.8 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.765e-05/0.3634, allocations: 8 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.186e-05/0.3635, allocations: 17.66 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.908e-05/0.3636, allocations: 37.64 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3636, allocations: 0 / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001063/0.3637, allocations: 49.61 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3637, allocations: 8 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3637, allocations: 3.938 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3637, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.497e-05/0.3638, allocations: 15.92 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3639, allocations: 4.062 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.3639, allocations: 11.84 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.3639, allocations: 8 kB / 1.091 GB, free: 13.95 MB / 0.8575 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 9.676e-05/0.364, allocations: 113.8 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.3641, allocations: 7.906 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.3641, allocations: 7.812 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3641, allocations: 7.984 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3641, allocations: 0 / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.3642, allocations: 0 / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.3646, allocations: 478.7 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.3647, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.49e-05/0.3647, allocations: 4 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3647, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.3647, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-06/0.3647, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3647, allocations: 4 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.3649, allocations: 85.83 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/0.3649, allocations: 85.02 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.365, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.297e-05/0.365, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.365, allocations: 4.078 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.365, allocations: 7.984 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001188/0.3652, allocations: 121.3 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3652, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001931/0.3654, allocations: 8 kB / 1.092 GB, free: 12.92 MB / 0.8575 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.0001814/0.3655, allocations: 103.8 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001232/0.3657, allocations: 15.94 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.3657, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.286e-05/0.3657, allocations: 8.125 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.3659, allocations: 18.34 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.3664, allocations: 166.8 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.3668, allocations: 0.6889 MB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.846e-05/0.3668, allocations: 12.42 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.3669, allocations: 11.44 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of SimCode: time 1.583e-05/0.3669, allocations: 4 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of Templates: time 0.00305/0.3699, allocations: 473.8 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches