Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",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.005556/0.005556, allocations: 103.5 kB / 15.73 MB, free: 6.043 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.001249/0.001249, allocations: 201.8 kB / 16.68 MB, free: 5.98 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.83/2.83, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 68.11 kB / 1.054 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.365, allocations: 157.4 MB / 1.207 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.003449/0.3685, allocations: 0.8308 MB / 1.208 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001783/0.3687, allocations: 35.8 kB / 1.208 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.184e-05/0.3688, allocations: 0 / 1.208 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.499e-05/0.3689, allocations: 7.922 kB / 1.208 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.369, allocations: 11.88 kB / 1.208 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.478e-05/0.3691, allocations: 15.98 kB / 1.208 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.3693, allocations: 59.84 kB / 1.208 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.3695, allocations: 55.84 kB / 1.208 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.388e-05/0.3696, allocations: 19.88 kB / 1.208 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.3697, allocations: 31.83 kB / 1.208 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.3697, allocations: 8 kB / 1.208 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.534e-05/0.3697, allocations: 4 kB / 1.208 GB, free: 9 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.3698, allocations: 15.94 kB / 1.208 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.651e-05/0.3698, allocations: 35.73 kB / 1.208 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.37, allocations: 87.86 kB / 1.208 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3701, allocations: 0 / 1.208 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3701, allocations: 0 / 1.208 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3701, allocations: 0 / 1.208 GB, free: 8.863 MB / 0.9669 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.0005469/0.3706, allocations: 379.2 kB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.3707, allocations: 8.625 kB / 1.209 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.848e-05/0.3708, allocations: 38.75 kB / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.3708, allocations: 16.77 kB / 1.209 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.3711, allocations: 188.2 kB / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.3712, allocations: 16.31 kB / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.3712, allocations: 4.375 kB / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.3714, allocations: 89.67 kB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.3714, allocations: 3.938 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3715, allocations: 0 / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3715, allocations: 4 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.3716, allocations: 43.91 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008083/0.3724, allocations: 432.6 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.075e-05/0.3725, allocations: 41.25 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.3726, allocations: 17.78 kB / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.3726, allocations: 4 kB / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.3727, allocations: 34.56 kB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.3727, allocations: 0 / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002527/0.3729, allocations: 57.47 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.373, allocations: 77.11 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.3732, allocations: 162.2 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.3733, allocations: 25.7 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.568e-05/0.3733, allocations: 112.2 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.266e-05/0.3734, allocations: 7.984 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.3734, allocations: 17.62 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3736, allocations: 318.8 kB / 1.21 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-05/0.3736, allocations: 8 kB / 1.21 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.3737, allocations: 25.58 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.351e-05/0.3737, allocations: 37.7 kB / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3738, allocations: 0 / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001434/0.3739, allocations: 57.55 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.3739, allocations: 7.938 kB / 1.211 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.374, allocations: 4 kB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.374, allocations: 0 / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-05/0.3741, allocations: 7.984 kB / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.3741, allocations: 0 / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.518e-05/0.3742, allocations: 7.938 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.3742, allocations: 4.062 kB / 1.211 GB, free: 6.379 MB / 0.9669 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.851e-05/0.3743, allocations: 113.8 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.3744, allocations: 11.84 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.3744, allocations: 11.88 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3744, allocations: 0 / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3744, allocations: 3.984 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3744, allocations: 3.938 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006728/0.3751, allocations: 478.7 kB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.3751, allocations: 4 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.592e-05/0.3751, allocations: 0 / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.3752, allocations: 4 kB / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.3752, allocations: 3.938 kB / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3752, allocations: 0 / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3752, allocations: 0 / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.3754, allocations: 81.89 kB / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.932e-05/0.3755, allocations: 89.02 kB / 1.211 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.3755, allocations: 0 / 1.211 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.557e-05/0.3756, allocations: 0 / 1.211 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.3756, allocations: 7.984 kB / 1.211 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.3757, allocations: 0 / 1.211 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001951/0.3759, allocations: 121.9 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.11e-07/0.3759, allocations: 0 / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003601/0.3763, allocations: 12.03 kB / 1.212 GB, free: 5.34 MB / 0.9669 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.0008019/0.3771, allocations: 0.6131 MB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.3773, allocations: 20.03 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.589e-05/0.3773, allocations: 4.062 kB / 1.212 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.938e-05/0.3773, allocations: 7.938 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.3776, allocations: 12 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.3799, allocations: 1.327 MB / 1.213 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005282/0.3804, allocations: 0.6929 MB / 1.214 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.465e-05/0.3805, allocations: 8.422 kB / 1.214 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.476e-05/0.3806, allocations: 27.42 kB / 1.214 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.3806, allocations: 0 / 1.214 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.4034, allocations: 1.607 MB / 1.216 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.455/7.859, allocations: 7.062 kB / 1.216 GB, free: 0.9766 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches