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.503/1.503, allocations: 249.5 MB / 257 MB, free: 6.836 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.001104/0.001104, allocations: 184.8 kB / 316.3 MB, free: 3.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.779/1.779, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0009497/0.0009498, allocations: 81.55 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.805e-05/1.807e-05, allocations: 4 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2479, allocations: 106.3 MB / 0.8852 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7653/1.013, allocations: 131.6 MB / 1.014 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/1.013, allocations: 71.58 kB / 1.014 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002774/1.016, allocations: 1.149 MB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/1.016, allocations: 0 / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.895e-06/1.016, allocations: 4 kB / 1.015 GB, free: 4.996 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.0003587/1.017, allocations: 364.7 kB / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/1.017, allocations: 19.95 kB / 1.015 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/1.017, allocations: 11.91 kB / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/1.017, allocations: 177.7 kB / 1.015 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/1.017, allocations: 4 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/1.017, allocations: 4 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001021/1.017, allocations: 34.94 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/1.017, allocations: 83.2 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/1.017, allocations: 0 / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/1.017, allocations: 4 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/1.017, allocations: 4 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005207/1.018, allocations: 416.6 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.495e-05/1.018, allocations: 44.39 kB / 1.016 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.627e-05/1.018, allocations: 17.83 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/1.018, allocations: 0 / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/1.018, allocations: 40.36 kB / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/1.018, allocations: 0 / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001555/1.018, allocations: 48.23 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/1.018, allocations: 77.11 kB / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/1.018, allocations: 126.4 kB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/1.018, allocations: 25.7 kB / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/1.018, allocations: 111.1 kB / 1.016 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.384e-06/1.018, allocations: 3.906 kB / 1.016 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/1.018, allocations: 0 / 1.016 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.019, allocations: 326.8 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/1.019, allocations: 7.562 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.347e-05/1.019, allocations: 19.75 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.493e-05/1.019, allocations: 11.3 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.019, allocations: 4 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.955e-05/1.019, allocations: 53.09 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/1.019, allocations: 4 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.019, allocations: 5.188 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/1.019, allocations: 4 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/1.019, allocations: 4 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/1.019, allocations: 3.984 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.472e-05/1.019, allocations: 11.78 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/1.019, allocations: 4 kB / 1.017 GB, free: 2.848 MB / 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.944e-05/1.019, allocations: 101 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/1.019, allocations: 7.953 kB / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/1.019, allocations: 7.922 kB / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.019, allocations: 8.219 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/1.019, allocations: 3.938 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/1.019, allocations: 9.375 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/1.02, allocations: 452.1 kB / 1.017 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/1.02, allocations: 0 / 1.017 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.453e-05/1.02, allocations: 4 kB / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/1.02, allocations: 0 / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/1.02, allocations: 12 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/1.02, allocations: 3.984 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.02, allocations: 0 / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/1.02, allocations: 85.64 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.01e-05/1.02, allocations: 85.09 kB / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/1.02, allocations: 0 / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.232e-05/1.02, allocations: 4.906 kB / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/1.02, allocations: 3.312 kB / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/1.02, allocations: 4 kB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.662e-05/1.02, allocations: 102.8 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/1.02, allocations: 4 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001804/1.02, allocations: 8 kB / 1.018 GB, free: 1.895 MB / 0.6355 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.0002266/1.021, allocations: 95.25 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001319/1.021, allocations: 25.56 kB / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.021, allocations: 0 / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.397e-05/1.021, allocations: 7.188 kB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/1.021, allocations: 10.34 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/1.021, allocations: 111.7 kB / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/1.022, allocations: 0.7004 MB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.37e-05/1.022, allocations: 8.172 kB / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/1.022, allocations: 7.438 kB / 1.019 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of SimCode: time 3.567e-06/1.022, allocations: 4 kB / 1.019 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of Templates: time 0.002313/1.024, allocations: 319.1 kB / 1.019 GB, free: 0.582 MB / 0.6355 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