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.001402/0.001401, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001576/0.001576, allocations: 191.8 kB / 16.25 MB, free: 6.59 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.612/1.612, allocations: 222.9 MB / 239.9 MB, free: 4.547 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 3.038/3.038, allocations: 437 MB / 0.7101 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 63.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8312/0.8332, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002521/0.8357, allocations: 0.8918 MB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001227/0.8359, allocations: 39.78 kB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.836, allocations: 4 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.43e-05/0.836, allocations: 7.922 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.563e-05/0.8361, allocations: 3.938 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.476e-05/0.8362, allocations: 23.98 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.8363, allocations: 55.86 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.8365, allocations: 43.94 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.843e-05/0.8366, allocations: 27.88 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.425e-05/0.8366, allocations: 31.78 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.8367, allocations: 8 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.8367, allocations: 4 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.8367, allocations: 15.94 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.356e-05/0.8368, allocations: 35.8 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.837, allocations: 69.67 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.837, allocations: 0 / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.175e-06/0.837, allocations: 0 / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.837, allocations: 0 / 1.018 GB, free: 1.5 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.0006124/0.8376, allocations: 391.1 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.8377, allocations: 8.031 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.8377, allocations: 12.84 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.838, allocations: 196.1 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.838, allocations: 4.375 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.8381, allocations: 8.375 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.8383, allocations: 95.83 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.8383, allocations: 4.188 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.8383, allocations: 11.94 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.8383, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.56e-05/0.8384, allocations: 39.92 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007407/0.8391, allocations: 432.5 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.996e-05/0.8392, allocations: 45.28 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.568e-05/0.8393, allocations: 21.83 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.8393, allocations: 0 / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.8393, allocations: 34.56 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8393, allocations: 0 / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0002089/0.8396, allocations: 61.48 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.8397, allocations: 77.11 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.8398, allocations: 160.3 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.8399, allocations: 29.7 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.847e-05/0.84, allocations: 107.9 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.566e-06/0.84, allocations: 3.906 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.84, allocations: 21.7 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.8402, allocations: 327 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.8402, allocations: 4 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.002e-05/0.8402, allocations: 21.7 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.005e-05/0.8403, allocations: 21.72 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8403, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.988e-05/0.8404, allocations: 61.59 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.8404, allocations: 13.25 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.8404, allocations: 7.938 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.8404, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.264e-05/0.8405, allocations: 4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.8405, allocations: 4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.661e-05/0.8405, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.8406, allocations: 4 kB / 1.02 GB, free: 15.05 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 9.634e-05/0.8407, allocations: 110.4 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.8407, allocations: 11.81 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.8407, allocations: 23.8 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.8408, allocations: 3.938 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.8408, allocations: 7.938 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.8408, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.8412, allocations: 462.8 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.8412, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.153e-05/0.8413, allocations: 7.938 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.8413, allocations: 8 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.8413, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8413, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.8413, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.8414, allocations: 85.83 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.8415, allocations: 88.94 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.8415, allocations: 4.031 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.906e-05/0.8415, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.03e-05/0.8415, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.8416, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000129/0.8417, allocations: 128.8 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8417, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001826/0.8419, allocations: 8 kB / 1.021 GB, free: 14 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.0001634/0.8421, allocations: 95.25 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.537e-05/0.8422, allocations: 23.98 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8422, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.239e-05/0.8422, allocations: 7.938 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.8424, allocations: 13.83 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.8427, allocations: 179.1 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.8432, allocations: 0.6963 MB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.8433, allocations: 8.516 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.8433, allocations: 11.44 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.8433, allocations: 0 / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of Templates: time 0.002989/0.8463, allocations: 456.5 kB / 1.023 GB, free: 12.46 MB / 0.7794 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=400 -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