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_inH2O.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_inH2O,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_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,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_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.457/1.457, allocations: 249.3 MB / 261.8 MB, free: 5.824 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.00105/0.00105, allocations: 182.6 kB / 321.3 MB, free: 14.65 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.575/1.575, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.001217/0.001218, allocations: 84.73 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.537e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.19, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6445/0.8345, allocations: 131.3 MB / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.8348, allocations: 67.78 kB / 1.02 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002714/0.8376, allocations: 1.168 MB / 1.021 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8376, allocations: 0 / 1.021 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.8376, allocations: 0 / 1.021 GB, free: 2.309 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.0002984/0.8379, allocations: 365.1 kB / 1.022 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.8379, allocations: 8.031 kB / 1.022 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.838, allocations: 7.906 kB / 1.022 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.8381, allocations: 186.9 kB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.8382, allocations: 8 kB / 1.022 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.8382, allocations: 7.438 kB / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.8384, allocations: 99.88 kB / 1.022 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.8384, allocations: 0 / 1.022 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.8384, allocations: 0 / 1.022 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.8384, allocations: 4 kB / 1.022 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.73e-05/0.8385, allocations: 46.69 kB / 1.022 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005281/0.839, allocations: 456.8 kB / 1.022 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.802e-05/0.8391, allocations: 47.66 kB / 1.022 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.746e-05/0.8391, allocations: 17.28 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.8391, allocations: 0 / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.8392, allocations: 37.3 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.8392, allocations: 0 / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001503/0.8393, allocations: 52.73 kB / 1.023 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.8394, allocations: 81.17 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.8395, allocations: 158.6 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.8395, allocations: 25.7 kB / 1.023 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.8396, allocations: 114.3 kB / 1.023 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.407e-06/0.8396, allocations: 7.891 kB / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-06/0.8396, allocations: 0 / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.8397, allocations: 322.3 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/0.8398, allocations: 7.5 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.8398, allocations: 25.16 kB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.469e-05/0.8398, allocations: 7.75 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.8398, allocations: 3.953 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.663e-05/0.8399, allocations: 64.28 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.84, allocations: 4 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.84, allocations: 4 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.84, allocations: 0 / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.906e-05/0.8401, allocations: 8.062 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.8401, allocations: 0 / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.689e-05/0.8401, allocations: 7.938 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.8401, allocations: 3.938 kB / 1.023 GB, free: 64 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 7.314e-05/0.8402, allocations: 110.2 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.509e-05/0.8403, allocations: 19.75 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.8403, allocations: 16.11 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.8403, allocations: 0 / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8403, allocations: 3.938 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.8403, allocations: 0 / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.8407, allocations: 483.5 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8407, allocations: 0 / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.8407, allocations: 4 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.8407, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.8408, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.8408, allocations: 4 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8408, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.258e-05/0.8409, allocations: 98.56 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.8409, allocations: 92.44 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.8409, allocations: 3.938 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.476e-05/0.841, allocations: 4 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.841, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.841, allocations: 4.031 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.454e-05/0.8411, allocations: 129.1 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8411, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001673/0.8413, allocations: 8 kB / 1.024 GB, free: 15.04 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.0001214/0.8414, allocations: 99.2 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.377e-05/0.8415, allocations: 22.31 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8415, allocations: 0 / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-05/0.8415, allocations: 8.125 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001054/0.8416, allocations: 6.688 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.8419, allocations: 109 kB / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.8421, allocations: 0.7004 MB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.481e-05/0.8421, allocations: 12.66 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.8422, allocations: 11.38 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.8422, allocations: 4 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of Templates: time 0.002231/0.8444, allocations: 464.2 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches