Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.007144/0.007144, allocations: 105.4 kB / 15.74 MB, free: 6.488 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.001409/0.001409, allocations: 196.1 kB / 16.68 MB, free: 6.375 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.587/1.587, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.612/2.612, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 75.66 kB / 0.9509 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3516, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001985/0.3537, allocations: 0.8138 MB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001144/0.3538, allocations: 43.78 kB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.533e-05/0.3539, allocations: 4 kB / 1.089 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.731e-05/0.3539, allocations: 11.92 kB / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.354, allocations: 11.88 kB / 1.089 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.581e-05/0.3541, allocations: 15.98 kB / 1.089 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.3542, allocations: 71.83 kB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.3544, allocations: 47.89 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.025e-05/0.3544, allocations: 23.88 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.097e-05/0.3545, allocations: 27.84 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.3545, allocations: 8 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.3545, allocations: 4 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.3546, allocations: 19.92 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.567e-05/0.3546, allocations: 27.75 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.3547, allocations: 83.58 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3547, allocations: 0 / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3548, allocations: 0 / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3548, allocations: 4 kB / 1.089 GB, free: 264 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.0004543/0.3552, allocations: 375.2 kB / 1.089 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.3553, allocations: 8.031 kB / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.3553, allocations: 12.75 kB / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.3555, allocations: 196.1 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3555, allocations: 12.31 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.3556, allocations: 8.375 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.3557, allocations: 93.36 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.3557, allocations: 192 / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.3558, allocations: 11.94 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3558, allocations: 3.984 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.232e-05/0.3559, allocations: 35.92 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/0.3564, allocations: 436.6 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.509e-05/0.3565, allocations: 45.17 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.3565, allocations: 21.84 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.3565, allocations: 0 / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.3565, allocations: 30.56 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.3565, allocations: 4 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.00017/0.3567, allocations: 57.47 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.3568, allocations: 81.11 kB / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.3569, allocations: 159.9 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.357, allocations: 25.7 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.357, allocations: 100 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.407e-06/0.357, allocations: 11.83 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.3571, allocations: 13.97 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3572, allocations: 318.8 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.3573, allocations: 11.98 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.421e-05/0.3573, allocations: 21.66 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.926e-05/0.3573, allocations: 25.72 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3573, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.623e-05/0.3574, allocations: 61.53 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3574, allocations: 8 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3574, allocations: 3.938 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3575, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.827e-05/0.3575, allocations: 4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3575, allocations: 4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.3576, allocations: 11.84 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.3576, allocations: 0 / 1.091 GB, free: 13.83 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.25e-05/0.3577, allocations: 117.8 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.3577, allocations: 11.97 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.3578, allocations: 11.81 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3578, allocations: 3.938 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3578, allocations: 0 / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3578, allocations: 4 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.3582, allocations: 470.8 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3582, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.622e-05/0.3582, allocations: 4.062 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3582, allocations: 7.984 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.3582, allocations: 3.938 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3582, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3582, allocations: 3.984 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.292e-05/0.3583, allocations: 73.84 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.3584, allocations: 93 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.3584, allocations: 4.031 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.965e-05/0.3584, allocations: 8 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.3585, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.3585, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.193e-05/0.3586, allocations: 121.1 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.944e-06/0.3586, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001777/0.3588, allocations: 15.94 kB / 1.092 GB, free: 12.78 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.0001211/0.3589, allocations: 103.7 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.451e-05/0.359, allocations: 19.98 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.359, allocations: 0 / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.228e-05/0.359, allocations: 7.938 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.3592, allocations: 11.94 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.3595, allocations: 166.8 kB / 1.092 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.3598, allocations: 0.6926 MB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.3598, allocations: 8.422 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.3598, allocations: 11.44 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3598, allocations: 0 / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of Templates: time 0.00244/0.3623, allocations: 460 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches