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.43/1.43, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 180 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.0009836/0.0009838, allocations: 88.03 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003595, allocations: 11.97 kB / 0.7962 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2537, allocations: 106.3 MB / 0.9001 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/0.4258, allocations: 131.4 MB / 1.028 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.4261, allocations: 63.95 kB / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002697/0.4288, allocations: 1.161 MB / 1.03 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.714e-06/0.4288, allocations: 0 / 1.03 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.4288, allocations: 224 / 1.03 GB, free: 11.46 MB / 0.6823 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.0003711/0.4292, allocations: 382.9 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.4292, allocations: 11.97 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.4293, allocations: 11.91 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.4295, allocations: 178.8 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.4295, allocations: 8 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.4295, allocations: 4 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.4297, allocations: 99.31 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.4297, allocations: 7.938 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.4297, allocations: 4 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.4297, allocations: 4 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.946e-05/0.4298, allocations: 39.92 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005836/0.4304, allocations: 464.5 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.876e-05/0.4305, allocations: 37.19 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.363e-06/0.4305, allocations: 0 / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.4305, allocations: 42.67 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4305, allocations: 4 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001704/0.4307, allocations: 49.55 kB / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.4308, allocations: 81.11 kB / 1.031 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.4309, allocations: 157.3 kB / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.431, allocations: 25.7 kB / 1.031 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.431, allocations: 107.9 kB / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/0.4311, allocations: 7.844 kB / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-06/0.4311, allocations: 0 / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4312, allocations: 327.1 kB / 1.032 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.4312, allocations: 8 kB / 1.032 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.574e-05/0.4313, allocations: 21.66 kB / 1.032 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.544e-05/0.4313, allocations: 12 kB / 1.032 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4313, allocations: 0 / 1.032 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.121e-05/0.4314, allocations: 65.55 kB / 1.032 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.4314, allocations: 4.062 kB / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.4314, allocations: 7.984 kB / 1.032 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.4314, allocations: 4 kB / 1.032 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.643e-05/0.4315, allocations: 7.938 kB / 1.032 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.4315, allocations: 0 / 1.032 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.166e-05/0.4316, allocations: 4 kB / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.4316, allocations: 0 / 1.032 GB, free: 9.062 MB / 0.6823 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 8.556e-05/0.4317, allocations: 122.6 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.4317, allocations: 15.77 kB / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.4318, allocations: 16.56 kB / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.4318, allocations: 0 / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4318, allocations: 0 / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.4318, allocations: 4 kB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.4322, allocations: 478.8 kB / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4322, allocations: 4 kB / 1.032 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.4322, allocations: 4 kB / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4322, allocations: 0 / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.4322, allocations: 8.062 kB / 1.032 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4323, allocations: 3.938 kB / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4323, allocations: 3.984 kB / 1.032 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.604e-05/0.4324, allocations: 95.52 kB / 1.032 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.73e-05/0.4324, allocations: 85 kB / 1.033 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.4325, allocations: 8.031 kB / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.372e-05/0.4325, allocations: 0 / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.4325, allocations: 0 / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.4325, allocations: 0 / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.859e-05/0.4326, allocations: 128.9 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4326, allocations: 0 / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001752/0.4328, allocations: 15.84 kB / 1.033 GB, free: 7.973 MB / 0.6823 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.0001239/0.4329, allocations: 99.23 kB / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.435e-05/0.433, allocations: 27.94 kB / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.433, allocations: 0 / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.146e-05/0.433, allocations: 8 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001089/0.4332, allocations: 7.953 kB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/0.4335, allocations: 199.6 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.4338, allocations: 0.6965 MB / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.36e-05/0.4338, allocations: 12.36 kB / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.4339, allocations: 11.44 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of SimCode: time 2.61e-07/0.4339, allocations: 4 kB / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of Templates: time 0.002179/0.4361, allocations: 447.8 kB / 1.034 GB, free: 6.418 MB / 0.6823 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