Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.416/2.416, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001259/0.001258, allocations: 189.6 kB / 0.4902 GB, free: 2.211 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.825/1.825, allocations: 223.2 MB / 0.7992 GB, free: 14.72 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.00121/0.00121, allocations: 97.81 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004421, allocations: 10.28 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3676, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2152/0.5829, allocations: 152 MB / 1.378 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.5832, allocations: 79.95 kB / 1.378 GB, free: 1.449 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01693/0.6001, allocations: 5.362 MB / 1.383 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6002, allocations: 0 / 1.383 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.816e-05/0.6002, allocations: 4 kB / 1.383 GB, free: 12.07 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000645/0.6009, allocations: 406.9 kB / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.6009, allocations: 15.97 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.6011, allocations: 19.84 kB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.6014, allocations: 186.9 kB / 1.384 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.6014, allocations: 4 kB / 1.384 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.6015, allocations: 4 kB / 1.384 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.6017, allocations: 69.61 kB / 1.384 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.6017, allocations: 3.984 kB / 1.384 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.6017, allocations: 0 / 1.384 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.6017, allocations: 4 kB / 1.384 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.6019, allocations: 51.97 kB / 1.384 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006443/0.6026, allocations: 308.8 kB / 1.384 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.6028, allocations: 62.48 kB / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.6028, allocations: 0 / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.6028, allocations: 34.56 kB / 1.384 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.6028, allocations: 0 / 1.384 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5): time 0.0004331/0.6033, allocations: 121.6 kB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.6033, allocations: 55.41 kB / 1.384 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.6035, allocations: 118.6 kB / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.6035, allocations: 25.7 kB / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.6036, allocations: 96.05 kB / 1.384 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.6036, allocations: 19.73 kB / 1.385 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.6036, allocations: 0 / 1.385 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.6037, allocations: 322.8 kB / 1.385 GB, free: 9.973 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.058e-05/0.6038, allocations: 27.97 kB / 1.385 GB, free: 9.945 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.858e-05/0.6039, allocations: 27.98 kB / 1.385 GB, free: 9.918 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.37e-05/0.604, allocations: 27.98 kB / 1.385 GB, free: 9.891 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.604, allocations: 4 kB / 1.385 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002185/0.6042, allocations: 97.58 kB / 1.385 GB, free: 9.785 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.6043, allocations: 4 kB / 1.385 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.6043, allocations: 0 / 1.385 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.6043, allocations: 0 / 1.385 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.6044, allocations: 15.98 kB / 1.385 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.6045, allocations: 11.89 kB / 1.385 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.82e-05/0.6045, allocations: 11.98 kB / 1.385 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.6045, allocations: 0 / 1.385 GB, free: 9.742 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.21e-05/0.6046, allocations: 118.6 kB / 1.385 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.6047, allocations: 7.906 kB / 1.385 GB, free: 9.609 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.605, allocations: 110 kB / 1.385 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.605, allocations: 0 / 1.385 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.605, allocations: 0 / 1.385 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.605, allocations: 3.953 kB / 1.385 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.6052, allocations: 181.7 kB / 1.385 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.6052, allocations: 4.438 kB / 1.385 GB, free: 9.262 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.933e-05/0.6053, allocations: 15.98 kB / 1.385 GB, free: 9.246 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.6053, allocations: 3.938 kB / 1.385 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.6053, allocations: 8 kB / 1.385 GB, free: 9.234 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.6053, allocations: 4 kB / 1.385 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6053, allocations: 0 / 1.385 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.6056, allocations: 195.4 kB / 1.386 GB, free: 9.023 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.6057, allocations: 85.02 kB / 1.386 GB, free: 8.922 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.6057, allocations: 4 kB / 1.386 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.741e-05/0.6058, allocations: 7.984 kB / 1.386 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.6059, allocations: 0 / 1.386 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.6059, allocations: 7.984 kB / 1.386 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.591e-05/0.606, allocations: 100.2 kB / 1.386 GB, free: 8.805 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/0.606, allocations: 0 / 1.386 GB, free: 8.805 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002443/0.6062, allocations: 27.94 kB / 1.386 GB, free: 8.777 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0002296/0.6065, allocations: 131.2 kB / 1.386 GB, free: 8.641 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.6067, allocations: 59.97 kB / 1.386 GB, free: 8.582 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6067, allocations: 0 / 1.386 GB, free: 8.582 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.877e-05/0.6068, allocations: 31.98 kB / 1.386 GB, free: 8.551 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.6071, allocations: 15.94 kB / 1.386 GB, free: 8.535 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.6075, allocations: 222.2 kB / 1.386 GB, free: 8.289 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.6078, allocations: 0.7004 MB / 1.387 GB, free: 7.562 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.13e-05/0.6078, allocations: 8.172 kB / 1.387 GB, free: 7.555 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.6079, allocations: 19.42 kB / 1.387 GB, free: 7.539 MB / 0.8855 GB Notification: Performance of SimCode: time 5.01e-07/0.6079, allocations: 0 / 1.387 GB, free: 7.539 MB / 0.8855 GB Notification: Performance of Templates: time 0.003393/0.6113, allocations: 0.9536 MB / 1.388 GB, free: 6.594 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches