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.001284/0.001284, allocations: 110.5 kB / 16.42 MB, free: 6.496 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.001256/0.001257, allocations: 188.3 kB / 17.35 MB, free: 5.762 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.197/2.197, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.91 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9448/0.9461, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001985/0.9482, allocations: 0.8111 MB / 1.089 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001134/0.9483, allocations: 41.58 kB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.934e-05/0.9484, allocations: 1.344 kB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.864e-05/0.9484, allocations: 10.12 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.906e-05/0.9485, allocations: 9.859 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.74e-05/0.9486, allocations: 24.09 kB / 1.09 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.9487, allocations: 63.88 kB / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.9488, allocations: 32.77 kB / 1.09 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.709e-05/0.9489, allocations: 30.75 kB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.949, allocations: 33.95 kB / 1.09 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.949, allocations: 6.156 kB / 1.09 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.949, allocations: 6.469 kB / 1.09 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.9491, allocations: 20.05 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.463e-05/0.9491, allocations: 32.64 kB / 1.09 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.9493, allocations: 77.7 kB / 1.09 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.9493, allocations: 0 / 1.09 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.235e-06/0.9493, allocations: 0 / 1.09 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.9493, allocations: 0.9062 kB / 1.09 GB, free: 4.766 MB / 0.8575 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.0003896/0.9497, allocations: 382 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.9497, allocations: 8.5 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.9498, allocations: 14.05 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.9499, allocations: 189 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.95, allocations: 2.5 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.95, allocations: 10.55 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.9501, allocations: 100.4 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.9502, allocations: 1 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.9502, allocations: 8.875 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.9502, allocations: 1.562 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.936e-05/0.9503, allocations: 40.77 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.9507, allocations: 433.5 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.225e-05/0.9508, allocations: 46.48 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.9508, allocations: 19.73 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.9508, allocations: 0.8438 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.9508, allocations: 40.28 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.9509, allocations: 1.125 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001646/0.951, allocations: 56.69 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.9511, allocations: 82.88 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.9512, allocations: 158.5 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.9512, allocations: 25.7 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.9513, allocations: 103.2 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.073e-05/0.9513, allocations: 6.766 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.9513, allocations: 17.5 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.835e-05/0.9514, allocations: 320.5 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.9514, allocations: 3.891 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.181e-05/0.9514, allocations: 28.52 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.903e-05/0.9515, allocations: 25.77 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.9515, allocations: 1.453 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.322e-05/0.9516, allocations: 61.62 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.9516, allocations: 5.719 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.9516, allocations: 64 / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.9516, allocations: 9 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.533e-05/0.9517, allocations: 7.078 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.9517, allocations: 5.031 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/0.9517, allocations: 6.125 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.9518, allocations: 1.062 kB / 1.092 GB, free: 2.691 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 5.63e-05/0.9518, allocations: 114.6 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.9519, allocations: 8.578 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.9519, allocations: 16.55 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.9519, allocations: 5.688 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9519, allocations: 0 / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.9519, allocations: 86.53 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.952, allocations: 1.672 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.9521, allocations: 1 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.9521, allocations: 1.984 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.38e-05/0.9522, allocations: 199.2 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.007e-05/0.9523, allocations: 301 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.881e-05/0.9523, allocations: 3.703 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.589e-05/0.9524, allocations: 124.8 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of Backend: time 2e-07/0.9524, allocations: 3.938 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004161/0.9528, allocations: 93.59 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of SimCode: time 0.000369/0.9532, allocations: 0.6079 MB / 1.093 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of Templates: time 0.002739/0.9559, allocations: 0.5197 MB / 1.094 GB, free: 1.098 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/jenkins1/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