Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.01027/0.01027, allocations: 97.27 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.002467/0.002467, allocations: 194.3 kB / 16.68 MB, free: 5.973 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.967/2.967, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.89 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3579, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002346/0.3603, allocations: 0.8202 MB / 1.167 GB, free: 5.992 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001673/0.3605, allocations: 51.78 kB / 1.167 GB, free: 5.941 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.124e-05/0.3606, allocations: 0 / 1.167 GB, free: 5.941 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.417e-05/0.3606, allocations: 11.86 kB / 1.167 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.3608, allocations: 11.88 kB / 1.167 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.196e-05/0.3608, allocations: 15.98 kB / 1.168 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.361, allocations: 63.83 kB / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.3612, allocations: 43.97 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.204e-05/0.3613, allocations: 27.86 kB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.128e-05/0.3614, allocations: 31.8 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.3614, allocations: 4 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.973e-05/0.3615, allocations: 8 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.218e-05/0.3615, allocations: 19.86 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.929e-05/0.3616, allocations: 27.81 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.3617, allocations: 75.58 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.3617, allocations: 7.984 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.825e-06/0.3617, allocations: 4 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.3618, allocations: 0 / 1.168 GB, free: 5.594 MB / 0.92 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.0006415/0.3624, allocations: 375.1 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.3625, allocations: 12.03 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.3625, allocations: 12.84 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.3628, allocations: 196.2 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.3628, allocations: 4.375 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.3629, allocations: 16.38 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.3631, allocations: 86.3 kB / 1.168 GB, free: 4.809 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3631, allocations: 192 / 1.168 GB, free: 4.809 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.3631, allocations: 15.81 kB / 1.168 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.3631, allocations: 11.92 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.848e-05/0.3632, allocations: 31.98 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000657/0.3639, allocations: 448.6 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.366e-05/0.364, allocations: 37.34 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.498e-05/0.364, allocations: 17.78 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.364, allocations: 0 / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.3641, allocations: 38.56 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.3641, allocations: 3.938 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002112/0.3643, allocations: 53.58 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.3644, allocations: 81.05 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.3645, allocations: 160.3 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.3645, allocations: 25.7 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.3646, allocations: 100.3 kB / 1.169 GB, free: 3.676 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.3646, allocations: 19.88 kB / 1.169 GB, free: 3.656 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.3647, allocations: 13.72 kB / 1.169 GB, free: 3.637 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3648, allocations: 318.8 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.3648, allocations: 8 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.744e-05/0.3649, allocations: 13.72 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/0.3649, allocations: 25.72 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3649, allocations: 4 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.748e-05/0.365, allocations: 65.53 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.365, allocations: 4 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.365, allocations: 3.938 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.365, allocations: 4 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.775e-05/0.3651, allocations: 4 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3651, allocations: 0 / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.009e-05/0.3651, allocations: 8 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.3651, allocations: 0 / 1.17 GB, free: 3.16 MB / 0.92 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.845e-05/0.3652, allocations: 125.8 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.3653, allocations: 7.953 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.3653, allocations: 11.81 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3653, allocations: 0 / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3653, allocations: 0 / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3653, allocations: 0 / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/0.3657, allocations: 482.7 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3657, allocations: 0 / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.101e-05/0.3657, allocations: 7.984 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3658, allocations: 0 / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.3658, allocations: 4 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3658, allocations: 3.938 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3658, allocations: 0 / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.399e-05/0.3659, allocations: 77.95 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.3659, allocations: 96.98 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.3659, allocations: 0 / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.366, allocations: 0 / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.366, allocations: 4 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.366, allocations: 4 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.968e-05/0.3661, allocations: 120.7 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3661, allocations: 0 / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001809/0.3663, allocations: 15.94 kB / 1.171 GB, free: 2.102 MB / 0.92 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.0001109/0.3664, allocations: 99.28 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.068e-05/0.3665, allocations: 27.92 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3665, allocations: 0 / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.879e-06/0.3665, allocations: 4 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.3667, allocations: 11.94 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.367, allocations: 166.8 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.3673, allocations: 0.6885 MB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.249e-05/0.3673, allocations: 8.422 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.3673, allocations: 11.44 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.3673, allocations: 0 / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of Templates: time 0.00248/0.3698, allocations: 460.6 kB / 1.172 GB, free: 0.5703 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches