Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001731/0.001731, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 193.4 kB / 16.53 MB, free: 6.664 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.695/1.695, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.888/2.888, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002983/0.002983, allocations: 59.91 kB / 0.8692 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8331/0.8361, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002586/0.8388, allocations: 0.819 MB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000137/0.8389, allocations: 47.78 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.829e-05/0.839, allocations: 4 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.851e-05/0.8391, allocations: 7.875 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.247e-05/0.8392, allocations: 11.86 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.928e-05/0.8392, allocations: 15.98 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.8394, allocations: 63.84 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.8395, allocations: 43.95 kB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.986e-05/0.8396, allocations: 27.81 kB / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.024e-05/0.8397, allocations: 27.84 kB / 1.018 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.8397, allocations: 8 kB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/0.8397, allocations: 4 kB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.8398, allocations: 15.94 kB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.827e-05/0.8398, allocations: 31.73 kB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.84, allocations: 81.67 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.84, allocations: 0 / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.545e-06/0.84, allocations: 0 / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.84, allocations: 0 / 1.018 GB, free: 1.277 MB / 0.7637 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.0005565/0.8406, allocations: 383.1 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.8406, allocations: 8.031 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.8407, allocations: 8.844 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.8409, allocations: 196.1 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.841, allocations: 8.375 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.841, allocations: 12.38 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.8412, allocations: 87.86 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.8412, allocations: 192 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.8412, allocations: 11.94 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.8412, allocations: 0 / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.882e-05/0.8413, allocations: 43.91 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006677/0.842, allocations: 432.7 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.434e-05/0.8421, allocations: 45.2 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.184e-05/0.8421, allocations: 21.84 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.8421, allocations: 4 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.8422, allocations: 30.56 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.8422, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002027/0.8424, allocations: 53.48 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/0.8425, allocations: 93.03 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.8427, allocations: 154.3 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.8427, allocations: 25.95 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.782e-05/0.8428, allocations: 115.9 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.508e-06/0.8428, allocations: 3.906 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.8429, allocations: 21.7 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.843, allocations: 318.8 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.8431, allocations: 7.984 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.861e-05/0.8431, allocations: 21.72 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.661e-05/0.8432, allocations: 29.72 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8432, allocations: 0 / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.273e-05/0.8433, allocations: 61.53 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.8433, allocations: 4 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.8433, allocations: 7.938 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.8433, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.382e-05/0.8434, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.8434, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.748e-05/0.8435, allocations: 7.938 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.8435, allocations: 4.062 kB / 1.021 GB, free: 14.82 MB / 0.7794 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.0001182/0.8436, allocations: 117.8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.8436, allocations: 15.8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.8437, allocations: 15.81 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.8437, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8437, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.8437, allocations: 4 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.8442, allocations: 466.8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.8442, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.787e-05/0.8442, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.8442, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.8442, allocations: 3.938 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.8442, allocations: 3.984 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8442, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.8444, allocations: 81.91 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.319e-05/0.8444, allocations: 92.94 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.8445, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.137e-05/0.8445, allocations: 7.938 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.8445, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.8445, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001236/0.8446, allocations: 126.1 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8447, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001859/0.8448, allocations: 12.03 kB / 1.022 GB, free: 13.78 MB / 0.7794 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.0001594/0.845, allocations: 95.25 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.8451, allocations: 19.98 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.8451, allocations: 0 / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/0.8452, allocations: 7.938 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.8453, allocations: 13.19 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.8457, allocations: 159.1 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.8461, allocations: 0.6924 MB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.213e-05/0.8462, allocations: 8.438 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.8462, allocations: 11.44 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8462, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of Templates: time 0.003305/0.8495, allocations: 456.4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches