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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 390.3 MB / 405.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 173.2 kB / 498.1 MB, free: 5.672 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 223.2 MB / 0.7948 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 104.3 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004153, allocations: 13.28 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3129, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1826/0.4956, allocations: 148.8 MB / 1.368 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.4959, allocations: 63.97 kB / 1.368 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002445/0.4983, allocations: 1.088 MB / 1.369 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4984, allocations: 0 / 1.369 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.4984, allocations: 4 kB / 1.369 GB, free: 12.05 MB / 0.8698 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.0003529/0.4987, allocations: 375.5 kB / 1.37 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4988, allocations: 8.031 kB / 1.37 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.4988, allocations: 11.86 kB / 1.37 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.499, allocations: 174.9 kB / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.499, allocations: 8 kB / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.499, allocations: 7.938 kB / 1.37 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.4992, allocations: 96.27 kB / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.4992, allocations: 0 / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.4992, allocations: 4 kB / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.4992, allocations: 3.984 kB / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.105e-05/0.4993, allocations: 39.92 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.4999, allocations: 452.6 kB / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.94e-05/0.5, allocations: 41.25 kB / 1.37 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.5, allocations: 0 / 1.37 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.5, allocations: 34.56 kB / 1.371 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5, allocations: 4 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001851/0.5002, allocations: 57.59 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.5003, allocations: 77.11 kB / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.5005, allocations: 147.8 kB / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.5005, allocations: 25.7 kB / 1.371 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.5006, allocations: 108.2 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.638e-06/0.5006, allocations: 3.906 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.5006, allocations: 3.938 kB / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.5007, allocations: 327.1 kB / 1.371 GB, free: 9.863 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.557e-05/0.5007, allocations: 8 kB / 1.371 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.811e-05/0.5008, allocations: 25.64 kB / 1.371 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.96e-05/0.5008, allocations: 11.95 kB / 1.371 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5008, allocations: 0 / 1.371 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.34e-05/0.5009, allocations: 53.61 kB / 1.371 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.5009, allocations: 4.844 kB / 1.371 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.501, allocations: 4 kB / 1.371 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.501, allocations: 4 kB / 1.371 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.545e-05/0.5011, allocations: 11.92 kB / 1.371 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.5011, allocations: 0 / 1.371 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.769e-05/0.5011, allocations: 11.91 kB / 1.371 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.5011, allocations: 0 / 1.371 GB, free: 9.719 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.44e-05/0.5012, allocations: 117.8 kB / 1.371 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.5013, allocations: 7.906 kB / 1.371 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.5013, allocations: 11.88 kB / 1.372 GB, free: 9.574 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.5013, allocations: 3.984 kB / 1.372 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5013, allocations: 0 / 1.372 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5014, allocations: 0 / 1.372 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.5018, allocations: 474.7 kB / 1.372 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.5018, allocations: 0 / 1.372 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.5018, allocations: 4 kB / 1.372 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5018, allocations: 3.938 kB / 1.372 GB, free: 9.035 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.5019, allocations: 8.062 kB / 1.372 GB, free: 9.027 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.5019, allocations: 0 / 1.372 GB, free: 9.027 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5019, allocations: 0 / 1.372 GB, free: 9.027 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.502, allocations: 95.5 kB / 1.372 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/0.5021, allocations: 89 kB / 1.372 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.5021, allocations: 32 / 1.372 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.324e-05/0.5021, allocations: 4 kB / 1.372 GB, free: 8.797 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.5021, allocations: 4 kB / 1.372 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.5021, allocations: 0 / 1.372 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001034/0.5022, allocations: 126.5 kB / 1.372 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5023, allocations: 0 / 1.372 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002152/0.5025, allocations: 15.86 kB / 1.372 GB, free: 8.656 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001297/0.5026, allocations: 103 kB / 1.372 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.571e-05/0.5027, allocations: 23.94 kB / 1.372 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5027, allocations: 0 / 1.372 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.552e-05/0.5027, allocations: 11.98 kB / 1.372 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.5029, allocations: 4 kB / 1.372 GB, free: 8.504 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.5033, allocations: 178.8 kB / 1.373 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.5036, allocations: 0.6965 MB / 1.373 GB, free: 7.566 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.651e-05/0.5036, allocations: 12.36 kB / 1.373 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.5037, allocations: 11.44 kB / 1.373 GB, free: 7.543 MB / 0.8698 GB Notification: Performance of SimCode: time 2.61e-07/0.5037, allocations: 0 / 1.373 GB, free: 7.543 MB / 0.8698 GB Notification: Performance of Templates: time 0.002187/0.5059, allocations: 427.9 kB / 1.374 GB, free: 7.125 MB / 0.8698 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","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches