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.001585/0.001585, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.002005/0.002005, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.3 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.949/2.949, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003502, allocations: 12.33 kB / 0.9021 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3413, allocations: 159.6 MB / 1.058 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001033/0.3424, allocations: 0.5184 MB / 1.059 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000105/0.3425, allocations: 35.84 kB / 1.059 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.395e-05/0.3426, allocations: 3.938 kB / 1.059 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.359e-05/0.3426, allocations: 0 / 1.059 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.444e-05/0.3427, allocations: 7.938 kB / 1.059 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.254e-05/0.3427, allocations: 7.984 kB / 1.059 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.3428, allocations: 63.75 kB / 1.059 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.343, allocations: 28.17 kB / 1.059 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.343, allocations: 19.86 kB / 1.059 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.546e-05/0.3431, allocations: 23.8 kB / 1.059 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.3431, allocations: 0 / 1.059 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-06/0.3431, allocations: 4 kB / 1.059 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.3431, allocations: 4 kB / 1.059 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.3432, allocations: 37.64 kB / 1.059 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.119e-05/0.3433, allocations: 59.81 kB / 1.059 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3433, allocations: 0 / 1.059 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3433, allocations: 0 / 1.059 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.3433, allocations: 0 / 1.059 GB, free: 4.453 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.0003941/0.3437, allocations: 363.4 kB / 1.059 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3437, allocations: 8.031 kB / 1.059 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.3438, allocations: 11.89 kB / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.344, allocations: 190.9 kB / 1.059 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.344, allocations: 8 kB / 1.059 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.344, allocations: 11.95 kB / 1.059 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.3442, allocations: 91.23 kB / 1.059 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3442, allocations: 3.938 kB / 1.059 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3442, allocations: 4 kB / 1.059 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3442, allocations: 4 kB / 1.059 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.336e-05/0.3443, allocations: 39.97 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.3448, allocations: 436.7 kB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.786e-05/0.3449, allocations: 45.09 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/0.3449, allocations: 13.84 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.345, allocations: 8 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.345, allocations: 38.45 kB / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.345, allocations: 0 / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001801/0.3452, allocations: 53.59 kB / 1.06 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.3452, allocations: 85.05 kB / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.3454, allocations: 156.7 kB / 1.06 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.3454, allocations: 33.7 kB / 1.06 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.3455, allocations: 104 kB / 1.06 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.387e-06/0.3455, allocations: 7.906 kB / 1.06 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-06/0.3455, allocations: 0 / 1.06 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3456, allocations: 318.8 kB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.3457, allocations: 8 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.996e-05/0.3457, allocations: 13.72 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.98e-05/0.3457, allocations: 16 kB / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3457, allocations: 3.938 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.221e-05/0.3458, allocations: 61.53 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3458, allocations: 4 kB / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3458, allocations: 3.953 kB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3459, allocations: 4 kB / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.247e-05/0.3459, allocations: 4 kB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.346, allocations: 0 / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.202e-05/0.346, allocations: 11.84 kB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.346, allocations: 4.062 kB / 1.061 GB, free: 2.078 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.76e-05/0.3461, allocations: 117.8 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.3461, allocations: 7.906 kB / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.3462, allocations: 11.88 kB / 1.061 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3462, allocations: 3.953 kB / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3462, allocations: 0 / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3462, allocations: 0 / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.3465, allocations: 466.8 kB / 1.061 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3466, allocations: 0 / 1.061 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.317e-05/0.3466, allocations: 15.88 kB / 1.061 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3466, allocations: 3.938 kB / 1.061 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3466, allocations: 4 kB / 1.061 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3466, allocations: 0 / 1.061 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3466, allocations: 0 / 1.061 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.264e-05/0.3467, allocations: 78.06 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.3468, allocations: 92.98 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.3468, allocations: 3.953 kB / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.102e-05/0.3468, allocations: 4 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.3468, allocations: 4 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.3468, allocations: 0 / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.688e-05/0.3469, allocations: 126.1 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.024e-06/0.3469, allocations: 0 / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001816/0.3471, allocations: 11.97 kB / 1.062 GB, free: 1.035 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001246/0.3472, allocations: 101.8 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.609e-05/0.3473, allocations: 15.98 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3473, allocations: 0 / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/0.3474, allocations: 7.938 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.3475, allocations: 8 kB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.3479, allocations: 186.7 kB / 1.062 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.3481, allocations: 0.6965 MB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.067e-05/0.3482, allocations: 8.422 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.3482, allocations: 11.44 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3482, allocations: 0 / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of Templates: time 0.002759/0.351, allocations: 419.9 kB / 1.063 GB, free: 15.53 MB / 0.8262 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/jenkins/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