Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.484/1.484, allocations: 249.3 MB / 261.9 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 174.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.2 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000855/0.000855, allocations: 86.8 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.859e-05/3.86e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2157, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7433/0.9591, allocations: 131.3 MB / 1.02 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.9594, allocations: 71.08 kB / 1.02 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002891/0.9623, allocations: 1.161 MB / 1.021 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.315e-06/0.9623, allocations: 4 kB / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.435e-06/0.9623, allocations: 4 kB / 1.021 GB, free: 2.32 MB / 0.6355 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.0003229/0.9627, allocations: 357.7 kB / 1.022 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.9627, allocations: 8.031 kB / 1.022 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.9628, allocations: 11.91 kB / 1.022 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.963, allocations: 182.4 kB / 1.022 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.963, allocations: 4 kB / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.963, allocations: 7.625 kB / 1.022 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.9632, allocations: 98.98 kB / 1.022 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.9632, allocations: 0 / 1.022 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.9632, allocations: 7.75 kB / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.9632, allocations: 0 / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.378e-05/0.9633, allocations: 43.5 kB / 1.022 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005962/0.9639, allocations: 457.7 kB / 1.022 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.585e-05/0.964, allocations: 43.28 kB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.964, allocations: 20.97 kB / 1.022 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.9641, allocations: 2.625 kB / 1.022 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.9641, allocations: 34.56 kB / 1.022 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.9641, allocations: 0 / 1.022 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001555/0.9643, allocations: 49.05 kB / 1.023 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.9643, allocations: 80.3 kB / 1.023 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.9645, allocations: 156.8 kB / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.9645, allocations: 29.7 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.9646, allocations: 114.7 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.113e-05/0.9646, allocations: 7.906 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.9646, allocations: 0 / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.9647, allocations: 318.1 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.9648, allocations: 11.56 kB / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.444e-05/0.9648, allocations: 17.53 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.978e-05/0.9648, allocations: 15.88 kB / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.9648, allocations: 7.953 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.648e-05/0.9649, allocations: 60.03 kB / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.965, allocations: 4 kB / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.965, allocations: 0 / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.965, allocations: 0 / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.343e-05/0.9651, allocations: 11.12 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.469e-05/0.9651, allocations: 3.938 kB / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.6e-05/0.9652, allocations: 8 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.9652, allocations: 4 kB / 1.023 GB, free: 88 kB / 0.6355 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 () * 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 8.1e-05/0.9653, allocations: 106.4 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.9653, allocations: 19.84 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.9654, allocations: 24.25 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.9654, allocations: 0 / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.9654, allocations: 0 / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.9654, allocations: 4 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.9658, allocations: 477.3 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.9658, allocations: 4 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.9658, allocations: 0 / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.9659, allocations: 4 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.9659, allocations: 3.75 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.9659, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9659, allocations: 3.984 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.815e-05/0.966, allocations: 106 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/0.9661, allocations: 89 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.9661, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.296e-05/0.9661, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.9661, allocations: 3.75 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.9661, allocations: 4 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.668e-05/0.9662, allocations: 122.2 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9662, allocations: 4 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001722/0.9664, allocations: 8 kB / 1.024 GB, free: 15.06 MB / 0.6511 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 () * 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.0001323/0.9666, allocations: 99.2 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.003e-05/0.9666, allocations: 23.12 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.9667, allocations: 4 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.184e-05/0.9667, allocations: 4 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.9668, allocations: 3.625 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.9671, allocations: 117.5 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.9674, allocations: 0.7043 MB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.894e-05/0.9674, allocations: 4.438 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.9674, allocations: 11.44 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of SimCode: time 3.6e-07/0.9674, allocations: 4 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of Templates: time 0.002229/0.9697, allocations: 456.7 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches