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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001227/0.001227, allocations: 193.5 kB / 16.14 MB, free: 6.645 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.267/1.267, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.216/2.216, allocations: 390.2 MB / 0.6643 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 68.08 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5549/0.556, allocations: 140.4 MB / 0.9491 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001651/0.5577, allocations: 0.8733 MB / 0.9499 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 7.893e-05/0.5578, allocations: 45.72 kB / 0.9499 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.5578, allocations: 5.531 kB / 0.95 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.5579, allocations: 3.938 kB / 0.95 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.843e-05/0.5579, allocations: 5.531 kB / 0.95 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.122e-05/0.558, allocations: 18.58 kB / 0.95 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.497e-05/0.558, allocations: 54.31 kB / 0.95 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.554e-05/0.5581, allocations: 44.06 kB / 0.9501 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.092e-05/0.5582, allocations: 19.61 kB / 0.9501 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.471e-05/0.5582, allocations: 35.56 kB / 0.9501 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.5582, allocations: 4.094 kB / 0.9501 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-06/0.5582, allocations: 4.312 kB / 0.9501 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.5583, allocations: 18.58 kB / 0.9502 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.5583, allocations: 29.91 kB / 0.9502 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.527e-05/0.5584, allocations: 66.44 kB / 0.9502 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5584, allocations: 7.984 kB / 0.9503 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.62e-07/0.5584, allocations: 0 / 0.9503 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.945e-06/0.5584, allocations: 1.312 kB / 0.9503 GB, free: 8.309 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.0002474/0.5586, allocations: 378.4 kB / 0.9506 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.5587, allocations: 9.625 kB / 0.9506 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.126e-05/0.5587, allocations: 40.11 kB / 0.9507 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.928e-05/0.5587, allocations: 10.34 kB / 0.9507 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.5588, allocations: 193.8 kB / 0.9509 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.5589, allocations: 8.5 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.5589, allocations: 12.5 kB / 0.9509 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.559, allocations: 86.08 kB / 0.951 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.559, allocations: 3.938 kB / 0.951 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.559, allocations: 9.359 kB / 0.951 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.559, allocations: 1.375 kB / 0.951 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.548e-05/0.5591, allocations: 36.55 kB / 0.951 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.5594, allocations: 436.5 kB / 0.9514 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.221e-05/0.5595, allocations: 41.39 kB / 0.9515 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.453e-05/0.5595, allocations: 19.22 kB / 0.9515 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.5595, allocations: 5.375 kB / 0.9515 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.226e-05/0.5595, allocations: 35.92 kB / 0.9515 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.5595, allocations: 0 / 0.9515 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001197/0.5597, allocations: 53.86 kB / 0.9516 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.5597, allocations: 78.48 kB / 0.9516 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.379e-05/0.5598, allocations: 167.4 kB / 0.9518 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-06/0.5598, allocations: 25.95 kB / 0.9518 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.305e-05/0.5598, allocations: 116 kB / 0.9519 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.41e-06/0.5599, allocations: 9.219 kB / 0.9519 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.5599, allocations: 13.84 kB / 0.952 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.561e-05/0.5599, allocations: 321.6 kB / 0.9523 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.5599, allocations: 6.75 kB / 0.9523 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.604e-05/0.56, allocations: 19.2 kB / 0.9523 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.032e-05/0.56, allocations: 29.97 kB / 0.9523 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.56, allocations: 0 / 0.9523 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.661e-05/0.5601, allocations: 55.42 kB / 0.9524 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.5601, allocations: 10.84 kB / 0.9524 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.5601, allocations: 0 / 0.9524 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.5601, allocations: 1.438 kB / 0.9524 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.808e-05/0.5602, allocations: 13.67 kB / 0.9524 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.5602, allocations: 0 / 0.9524 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.5602, allocations: 10.84 kB / 0.9524 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.5602, allocations: 5.062 kB / 0.9524 GB, free: 6.09 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 4.006e-05/0.5602, allocations: 113.7 kB / 0.9525 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.5603, allocations: 11.25 kB / 0.9525 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.632e-05/0.5603, allocations: 15.14 kB / 0.9525 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.5603, allocations: 1.156 kB / 0.9526 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.5603, allocations: 0 / 0.9526 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.5603, allocations: 1.156 kB / 0.9526 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.5606, allocations: 482.7 kB / 0.953 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5606, allocations: 0 / 0.953 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.794e-05/0.5606, allocations: 2.938 kB / 0.953 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5606, allocations: 1.062 kB / 0.953 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.5606, allocations: 1.25 kB / 0.953 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5606, allocations: 0 / 0.953 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5606, allocations: 1.438 kB / 0.953 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.639e-05/0.5607, allocations: 81.58 kB / 0.9531 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.5607, allocations: 92.3 kB / 0.9532 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.5607, allocations: 1.406 kB / 0.9532 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.108e-05/0.5608, allocations: 5.703 kB / 0.9532 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-06/0.5608, allocations: 7.875 kB / 0.9532 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.5608, allocations: 1.719 kB / 0.9532 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.29e-05/0.5608, allocations: 120 kB / 0.9533 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5609, allocations: 5.25 kB / 0.9533 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001795/0.561, allocations: 11 kB / 0.9533 GB, free: 5.133 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.0001936/0.5612, allocations: 0.6089 MB / 0.9539 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.915e-05/0.5613, allocations: 21.81 kB / 0.9539 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.5613, allocations: 1.344 kB / 0.9539 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.024e-05/0.5613, allocations: 7.094 kB / 0.954 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.5615, allocations: 5 kB / 0.954 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007872/0.5623, allocations: 1.352 MB / 0.9553 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.976e-05/0.5624, allocations: 0.6911 MB / 0.956 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.813e-05/0.5624, allocations: 7.922 kB / 0.956 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.5624, allocations: 23.03 kB / 0.956 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.5624, allocations: 4 kB / 0.956 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.5764, allocations: 1.419 MB / 0.9574 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001195/0.5765, allocations: 212.8 kB / 0.9576 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/2.638, allocations: 3.938 kB / 0.9576 GB, free: 1.527 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > 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/jenkins1/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