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.006441/0.006441, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001326/0.001326, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.496/1.496, 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.521/2.521, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 67.31 kB / 0.9509 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3546, allocations: 140.4 MB / 1.088 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002651/0.3573, allocations: 0.8137 MB / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001509/0.3574, allocations: 43.78 kB / 1.089 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.865e-05/0.3575, allocations: 4 kB / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.043e-05/0.3576, allocations: 11.86 kB / 1.089 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.502e-05/0.3577, allocations: 11.94 kB / 1.089 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.104e-05/0.3578, allocations: 15.98 kB / 1.089 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.3579, allocations: 63.78 kB / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.358, allocations: 43.95 kB / 1.089 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.691e-05/0.3581, allocations: 23.88 kB / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.31e-05/0.3582, allocations: 27.84 kB / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.3582, allocations: 8 kB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.3582, allocations: 8 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.3582, allocations: 15.92 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.717e-05/0.3583, allocations: 35.73 kB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.3584, allocations: 75.53 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3585, allocations: 0 / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3585, allocations: 4 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.3585, allocations: 0 / 1.089 GB, free: 400 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.0004632/0.3589, allocations: 383.1 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.359, allocations: 15.97 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.359, allocations: 8.891 kB / 1.09 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.3593, allocations: 192.2 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.3593, allocations: 12.36 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.3593, allocations: 4.375 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.3595, allocations: 97.36 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3595, allocations: 192 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.3595, allocations: 7.938 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.3595, allocations: 4 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.675e-05/0.3596, allocations: 35.92 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.3602, allocations: 432.7 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.928e-05/0.3603, allocations: 45.33 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/0.3603, allocations: 21.77 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.3603, allocations: 0 / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.3604, allocations: 34.56 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.3604, allocations: 8 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001981/0.3606, allocations: 53.53 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.3607, allocations: 81.09 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.3608, allocations: 156.9 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3609, allocations: 25.7 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.719e-05/0.361, allocations: 108 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.198e-05/0.361, allocations: 19.77 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.361, allocations: 17.95 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3612, allocations: 318.8 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.3612, allocations: 11.98 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.324e-05/0.3612, allocations: 17.72 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.305e-05/0.3613, allocations: 21.72 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3613, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001096/0.3614, allocations: 65.58 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3614, allocations: 4 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.3614, allocations: 3.938 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3615, allocations: 0 / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.052e-05/0.3615, allocations: 12 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3615, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.684e-05/0.3616, allocations: 7.953 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.3616, allocations: 0 / 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 8.483e-05/0.3617, allocations: 113.9 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.3617, allocations: 11.95 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.3618, allocations: 19.73 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.3618, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3618, allocations: 3.938 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3618, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/0.3622, allocations: 470.8 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3622, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.111e-05/0.3623, allocations: 8.062 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3623, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.3623, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.3623, allocations: 7.984 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3623, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.09e-05/0.3624, allocations: 77.89 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.682e-05/0.3624, allocations: 89.08 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.3625, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.04e-05/0.3625, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.3625, allocations: 3.938 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.3625, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.672e-05/0.3626, allocations: 121.3 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.743e-06/0.3626, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001945/0.3628, allocations: 15.89 kB / 1.092 GB, free: 12.9 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.0001274/0.3629, allocations: 107.7 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.073e-05/0.363, allocations: 15.98 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/0.3631, allocations: 4 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.269e-05/0.3631, allocations: 7.938 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.3632, allocations: 7.938 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.3635, allocations: 158.8 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.3638, allocations: 0.7004 MB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.708e-05/0.3639, allocations: 4.438 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.3639, allocations: 11.44 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3639, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of Templates: time 0.002586/0.3665, allocations: 476.5 kB / 1.094 GB, free: 11.36 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