Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.001558/0.001558, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.389/1.389, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.779/2.779, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 67.34 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3418, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002306/0.3442, allocations: 0.8881 MB / 1.054 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001308/0.3443, allocations: 39.78 kB / 1.054 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.3444, allocations: 0 / 1.054 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.811e-05/0.3444, allocations: 3.938 kB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.47e-05/0.3446, allocations: 7.938 kB / 1.054 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.687e-05/0.3446, allocations: 15.98 kB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.3447, allocations: 59.75 kB / 1.054 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.3449, allocations: 43.97 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.355e-05/0.3449, allocations: 19.88 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.808e-05/0.345, allocations: 35.77 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.345, allocations: 8 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.3451, allocations: 4 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.3451, allocations: 11.88 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.3451, allocations: 35.73 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.478e-05/0.3452, allocations: 52.19 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3452, allocations: 0 / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3452, allocations: 0 / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.3452, allocations: 0 / 1.054 GB, free: 7.098 MB / 0.8106 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.0004604/0.3457, allocations: 383.3 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3458, allocations: 8.031 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.3458, allocations: 12.84 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.346, allocations: 192.2 kB / 1.055 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.3461, allocations: 8.375 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.3461, allocations: 8.312 kB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.3463, allocations: 95.84 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3463, allocations: 192 / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.3463, allocations: 7.938 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.3463, allocations: 0 / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.35e-05/0.3464, allocations: 43.92 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.347, allocations: 428.6 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.993e-05/0.3471, allocations: 41.19 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.3471, allocations: 29.83 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.3471, allocations: 0 / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.3472, allocations: 30.56 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3472, allocations: 0 / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001853/0.3474, allocations: 53.48 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.3474, allocations: 85.36 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.3476, allocations: 164.7 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.3476, allocations: 25.7 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/0.3477, allocations: 104 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.798e-06/0.3477, allocations: 7.906 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.3477, allocations: 13.72 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3479, allocations: 318.8 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.3479, allocations: 8 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.858e-05/0.3479, allocations: 33.58 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.274e-05/0.348, allocations: 25.72 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.348, allocations: 0 / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.882e-05/0.3481, allocations: 53.55 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3481, allocations: 11.98 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3481, allocations: 7.875 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3481, allocations: 4.062 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.224e-05/0.3482, allocations: 4 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3482, allocations: 0 / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.09e-05/0.3483, allocations: 11.84 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.3483, allocations: 0 / 1.056 GB, free: 4.66 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 8.348e-05/0.3484, allocations: 113.8 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.3484, allocations: 7.906 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.3484, allocations: 19.8 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3484, allocations: 0 / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3485, allocations: 4 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3485, allocations: 4.094 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.349, allocations: 470.8 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.349, allocations: 7.984 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.989e-05/0.349, allocations: 0 / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.349, allocations: 8 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.349, allocations: 0 / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.349, allocations: 8 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.349, allocations: 0 / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.137e-05/0.3491, allocations: 77.83 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/0.3492, allocations: 93 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.3492, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.269e-05/0.3492, allocations: 4 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.3492, allocations: 4.031 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.3493, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001568/0.3494, allocations: 123.1 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3494, allocations: 0 / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001941/0.3496, allocations: 8 kB / 1.057 GB, free: 3.617 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.0001273/0.3498, allocations: 95.25 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.145e-05/0.3498, allocations: 19.94 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.3499, allocations: 128 / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.527e-05/0.3499, allocations: 19.92 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.3501, allocations: 13.5 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/0.3504, allocations: 206.3 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.3508, allocations: 0.6965 MB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.3508, allocations: 11.44 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of SimCode: time 4.21e-07/0.3508, allocations: 0 / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of Templates: time 0.002396/0.3532, allocations: 0.8481 MB / 1.059 GB, free: 1.637 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches