Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006741/0.006741, allocations: 104.9 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.001499/0.001499, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.615/1.615, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.528/2.528, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 64.16 kB / 0.9508 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3693, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002796/0.3722, allocations: 0.8352 MB / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001734/0.3724, allocations: 43.78 kB / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.52e-05/0.3725, allocations: 0 / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.057e-05/0.3726, allocations: 7.875 kB / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.3727, allocations: 7.938 kB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.229e-05/0.3728, allocations: 23.97 kB / 1.089 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000166/0.373, allocations: 63.78 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.3732, allocations: 47.95 kB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.3734, allocations: 27.86 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.742e-05/0.3735, allocations: 23.86 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.3735, allocations: 4 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.879e-05/0.3735, allocations: 12 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.37e-05/0.3736, allocations: 15.92 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.403e-05/0.3736, allocations: 35.75 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.3738, allocations: 87.56 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3738, allocations: 0 / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of FrontEnd: time 3.095e-06/0.3738, allocations: 0 / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.3739, allocations: 0 / 1.089 GB, free: 260 kB / 0.8419 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.0007158/0.3746, allocations: 367.3 kB / 1.089 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.699e-05/0.3747, allocations: 8.031 kB / 1.089 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/0.3747, allocations: 16.75 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.3751, allocations: 200.1 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3751, allocations: 4.375 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.3751, allocations: 8.375 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.3753, allocations: 87.95 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3753, allocations: 192 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.3754, allocations: 3.938 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.3754, allocations: 4 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.735e-05/0.3755, allocations: 39.92 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000718/0.3762, allocations: 440.6 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.62e-05/0.3763, allocations: 41.25 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.942e-05/0.3763, allocations: 21.78 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.3764, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.3764, allocations: 34.56 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3764, allocations: 3.938 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002538/0.3767, allocations: 57.47 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.799e-05/0.3768, allocations: 77.11 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.377, allocations: 165.1 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.377, allocations: 25.7 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.3772, allocations: 104 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.3772, allocations: 3.906 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.3772, allocations: 17.72 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.3774, allocations: 322.8 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.45e-05/0.3775, allocations: 7.938 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.861e-05/0.3775, allocations: 17.72 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.669e-05/0.3776, allocations: 29.72 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3776, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001028/0.3777, allocations: 61.53 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.3777, allocations: 4 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.3777, allocations: 4.031 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.3778, allocations: 7.984 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.667e-05/0.3779, allocations: 4 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3779, allocations: 4.062 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.84e-05/0.3779, allocations: 15.83 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.3779, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 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 0.000112/0.378, allocations: 113.8 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.3781, allocations: 7.906 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.3781, allocations: 15.81 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3781, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3781, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3781, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.3786, allocations: 474.8 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.3786, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/0.3787, allocations: 7.938 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3787, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3787, allocations: 8 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3787, allocations: 4 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3787, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.382e-05/0.3788, allocations: 81.89 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.489e-05/0.3789, allocations: 85.02 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.3789, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.339e-05/0.3789, allocations: 4 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.379, allocations: 4 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.379, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001152/0.3791, allocations: 125.3 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.465e-06/0.3791, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001905/0.3793, allocations: 15.88 kB / 1.092 GB, free: 12.79 MB / 0.8575 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.0001744/0.3795, allocations: 99.77 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001317/0.3796, allocations: 19.94 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3796, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.586e-05/0.3797, allocations: 11.94 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.3798, allocations: 13.91 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.3802, allocations: 162.8 kB / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.3806, allocations: 0.6924 MB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.149e-05/0.3807, allocations: 8.422 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.3807, allocations: 11.44 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3807, allocations: 4 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of Templates: time 0.003228/0.384, allocations: 465.9 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches