Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01055/0.01055, allocations: 99.53 kB / 15.73 MB, free: 6.477 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.00179/0.00179, allocations: 189.9 kB / 16.67 MB, free: 6.391 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.499/1.499, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.644/2.644, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 60.44 kB / 0.9509 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3376, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001931/0.3396, allocations: 0.8242 MB / 1.089 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001156/0.3397, allocations: 47.78 kB / 1.089 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.3397, allocations: 4 kB / 1.089 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.3398, allocations: 11.86 kB / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.696e-05/0.3399, allocations: 7.875 kB / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.081e-05/0.3399, allocations: 19.98 kB / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.3401, allocations: 63.84 kB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.3402, allocations: 39.95 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.074e-05/0.3403, allocations: 23.88 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.3403, allocations: 31.84 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.3404, allocations: 8 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.03e-05/0.3404, allocations: 8 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.3404, allocations: 15.88 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.3404, allocations: 43.72 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.3406, allocations: 67.66 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3406, allocations: 0 / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.946e-06/0.3406, allocations: 4 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3406, allocations: 0 / 1.089 GB, free: 284 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.000413/0.341, allocations: 367.3 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.341, allocations: 16.03 kB / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.3411, allocations: 12.75 kB / 1.089 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.3413, allocations: 200.1 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.3413, allocations: 4.375 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.3413, allocations: 12.36 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.3415, allocations: 89.67 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3415, allocations: 192 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3415, allocations: 7.938 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3415, allocations: 11.94 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.363e-05/0.3416, allocations: 39.92 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/0.3421, allocations: 428.5 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.279e-05/0.3422, allocations: 41.34 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.3423, allocations: 21.77 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.3423, allocations: 3.984 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.3423, allocations: 34.56 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3423, allocations: 3.938 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000163/0.3425, allocations: 53.55 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.3425, allocations: 85.3 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.3427, allocations: 155.7 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.3427, allocations: 29.7 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.3428, allocations: 100 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.3428, allocations: 7.906 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.3429, allocations: 25.64 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.343, allocations: 314.8 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/0.343, allocations: 4 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.837e-05/0.343, allocations: 29.7 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.044e-05/0.3431, allocations: 21.72 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3431, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001165/0.3432, allocations: 65.53 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3432, allocations: 4 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.3433, allocations: 3.938 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3433, allocations: 8.062 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-05/0.3433, allocations: 4 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3434, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.075e-05/0.3434, allocations: 11.84 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.3434, allocations: 0 / 1.091 GB, free: 13.84 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 7.552e-05/0.3435, allocations: 118.3 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.3435, allocations: 7.906 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.3436, allocations: 19.8 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3436, allocations: 0 / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3436, allocations: 4 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3436, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.344, allocations: 466.8 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.344, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/0.344, allocations: 4 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.344, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.344, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.344, allocations: 7.984 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.344, allocations: 8.047 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.965e-05/0.3441, allocations: 77.84 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.3442, allocations: 92.94 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.3442, allocations: 3.938 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.979e-05/0.3442, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.3443, allocations: 4 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.3443, allocations: 4.031 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.296e-05/0.3444, allocations: 124.9 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3444, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001853/0.3445, allocations: 8 kB / 1.092 GB, free: 12.8 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.0001105/0.3447, allocations: 99.19 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.026e-05/0.3448, allocations: 23.92 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.3448, allocations: 0 / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.067e-05/0.3448, allocations: 8.125 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.3449, allocations: 7.938 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000297/0.3453, allocations: 162.8 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.3455, allocations: 0.6967 MB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.272e-05/0.3456, allocations: 8.562 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.3456, allocations: 11.44 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.3456, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of Templates: time 0.00247/0.3481, allocations: 466 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches