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.001588/0.001588, allocations: 108 kB / 15.6 MB, free: 132 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.001171/0.001172, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.569/1.569, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.484/2.484, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001428, allocations: 67.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8473/0.8488, allocations: 140.3 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.00223/0.8511, allocations: 0.8195 MB / 0.9504 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001207/0.8512, allocations: 41.28 kB / 0.9504 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.735e-05/0.8513, allocations: 1.375 kB / 0.9504 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.195e-05/0.8513, allocations: 11.88 kB / 0.9504 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.111e-05/0.8514, allocations: 7.875 kB / 0.9504 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.234e-05/0.8515, allocations: 20.11 kB / 0.9505 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.8516, allocations: 59.22 kB / 0.9505 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.8518, allocations: 45.84 kB / 0.9506 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.198e-05/0.8518, allocations: 22.73 kB / 0.9506 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.699e-05/0.8519, allocations: 29.3 kB / 0.9506 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.8519, allocations: 5.5 kB / 0.9506 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.8519, allocations: 5.5 kB / 0.9506 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.852, allocations: 22.66 kB / 0.9506 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.852, allocations: 34.67 kB / 0.9507 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.8521, allocations: 70.06 kB / 0.9507 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.8521, allocations: 1.375 kB / 0.9507 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.995e-06/0.8522, allocations: 0 / 0.9507 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.8522, allocations: 7.938 kB / 0.9508 GB, free: 8.293 MB / 0.7169 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.0005074/0.8527, allocations: 382.4 kB / 0.9511 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.8527, allocations: 9.625 kB / 0.9511 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.8528, allocations: 8.969 kB / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.853, allocations: 191.6 kB / 0.9513 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.853, allocations: 6.719 kB / 0.9513 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.8531, allocations: 5.188 kB / 0.9513 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.8533, allocations: 98.67 kB / 0.9514 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.8533, allocations: 1.25 kB / 0.9514 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.8533, allocations: 7.922 kB / 0.9514 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.8533, allocations: 2.812 kB / 0.9514 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.968e-05/0.8534, allocations: 34.95 kB / 0.9515 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.8539, allocations: 437.7 kB / 0.9519 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.251e-05/0.854, allocations: 36.66 kB / 0.9519 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.019e-05/0.8541, allocations: 24.41 kB / 0.9519 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.8541, allocations: 0 / 0.9519 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.8541, allocations: 40.11 kB / 0.952 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.8541, allocations: 0 / 0.952 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000205/0.8543, allocations: 55.11 kB / 0.952 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.8544, allocations: 78.39 kB / 0.9521 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.8545, allocations: 164.7 kB / 0.9523 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.8545, allocations: 25.7 kB / 0.9523 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.8546, allocations: 108.8 kB / 0.9524 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.8546, allocations: 9.156 kB / 0.9524 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.8547, allocations: 17.78 kB / 0.9524 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.294e-05/0.8547, allocations: 328.5 kB / 0.9527 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/0.8548, allocations: 8.125 kB / 0.9527 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.167e-05/0.8548, allocations: 17.45 kB / 0.9528 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.948e-05/0.8548, allocations: 30.84 kB / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8548, allocations: 4 kB / 0.9528 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.313e-05/0.8549, allocations: 51.05 kB / 0.9528 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.8549, allocations: 5.781 kB / 0.9528 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.855, allocations: 3.938 kB / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.855, allocations: 5.5 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.8551, allocations: 9.547 kB / 0.9529 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.8551, allocations: 0 / 0.9529 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.944e-05/0.8551, allocations: 2.656 kB / 0.9529 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.8551, allocations: 1.406 kB / 0.9529 GB, free: 6.133 MB / 0.7169 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.053e-05/0.8552, allocations: 117.8 kB / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.8552, allocations: 11.94 kB / 0.953 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/0.8553, allocations: 18.27 kB / 0.953 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.8553, allocations: 5.625 kB / 0.953 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.8553, allocations: 0 / 0.953 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.8553, allocations: 1.406 kB / 0.953 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.8556, allocations: 478.3 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8556, allocations: 0 / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.045e-05/0.8556, allocations: 3.156 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8556, allocations: 1.438 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.8556, allocations: 0 / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.8557, allocations: 0.9688 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.8557, allocations: 5.578 kB / 0.9535 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.473e-05/0.8557, allocations: 86.27 kB / 0.9536 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.8558, allocations: 91.64 kB / 0.9536 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.8558, allocations: 1.625 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.083e-05/0.8558, allocations: 3.984 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.8559, allocations: 1.344 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.8559, allocations: 1.406 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.781e-05/0.856, allocations: 121 kB / 0.9538 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.856, allocations: 0 / 0.9538 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001974/0.8562, allocations: 6.594 kB / 0.9538 GB, free: 5.176 MB / 0.7169 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.00014/0.8563, allocations: 101 kB / 0.9539 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.8564, allocations: 26 kB / 0.9539 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8565, allocations: 0 / 0.9539 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.678e-05/0.8565, allocations: 9.406 kB / 0.9539 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.8567, allocations: 16.64 kB / 0.9539 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.857, allocations: 159.9 kB / 0.9541 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.8573, allocations: 0.6938 MB / 0.9548 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.732e-05/0.8573, allocations: 13.39 kB / 0.9548 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.8573, allocations: 10.16 kB / 0.9548 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.8573, allocations: 0 / 0.9548 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of Templates: time 0.002824/0.8602, allocations: 459.2 kB / 0.9552 GB, free: 3.953 MB / 0.7169 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