Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.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.DXCoils.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.26/2.26, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001205/0.001204, allocations: 186.8 kB / 0.4902 GB, free: 2.277 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.639/1.639, allocations: 223.2 MB / 0.7992 GB, free: 15.6 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.0009351/0.0009349, allocations: 94.12 kB / 0.9396 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0006639/0.000664, allocations: 15.09 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4233, allocations: 143 MB / 1.229 GB, free: 85.42 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.248/0.6714, allocations: 150.6 MB / 1.376 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.6717, allocations: 87.94 kB / 1.376 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.003771/0.6755, allocations: 1.255 MB / 1.378 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6755, allocations: 0 / 1.378 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.6756, allocations: 4 kB / 1.378 GB, free: 13.21 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005794/0.6762, allocations: 403 kB / 1.378 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.6762, allocations: 12.56 kB / 1.378 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.6763, allocations: 7.844 kB / 1.378 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.6764, allocations: 171 kB / 1.378 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.6764, allocations: 8 kB / 1.378 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.6764, allocations: 8 kB / 1.378 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.6768, allocations: 105.6 kB / 1.378 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.6768, allocations: 11.98 kB / 1.378 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.6769, allocations: 0 / 1.378 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.6769, allocations: 0 / 1.378 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004569/0.6773, allocations: 135.8 kB / 1.378 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.6778, allocations: 314.8 kB / 1.379 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.6782, allocations: 110.5 kB / 1.379 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.6782, allocations: 0 / 1.379 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.6782, allocations: 38.67 kB / 1.379 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.6782, allocations: 0 / 1.379 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0007691/0.679, allocations: 233.5 kB / 1.379 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.679, allocations: 55.36 kB / 1.379 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.199e-05/0.6791, allocations: 120.9 kB / 1.379 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.6792, allocations: 25.7 kB / 1.379 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.6792, allocations: 92.05 kB / 1.379 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.6793, allocations: 23.73 kB / 1.379 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.6793, allocations: 0 / 1.379 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.6794, allocations: 314.8 kB / 1.38 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.6796, allocations: 75.88 kB / 1.38 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.6799, allocations: 63.94 kB / 1.38 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.6801, allocations: 67.95 kB / 1.38 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6801, allocations: 0 / 1.38 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004789/0.6806, allocations: 169.5 kB / 1.38 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6806, allocations: 7.984 kB / 1.38 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.6806, allocations: 0 / 1.38 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.6806, allocations: 0 / 1.38 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.6808, allocations: 39.91 kB / 1.38 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.6808, allocations: 0 / 1.38 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.681, allocations: 31.94 kB / 1.38 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.681, allocations: 3.984 kB / 1.38 GB, free: 10.41 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.422e-05/0.6811, allocations: 121.8 kB / 1.38 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.6811, allocations: 7.906 kB / 1.38 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.6812, allocations: 8.375 kB / 1.38 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.6812, allocations: 0 / 1.38 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6812, allocations: 0 / 1.38 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.6812, allocations: 4 kB / 1.38 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.6814, allocations: 193.5 kB / 1.381 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6814, allocations: 0 / 1.381 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.6816, allocations: 35.97 kB / 1.381 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.6816, allocations: 0 / 1.381 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.6816, allocations: 448 / 1.381 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.6816, allocations: 4 kB / 1.381 GB, free: 9.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6816, allocations: 4 kB / 1.381 GB, free: 9.977 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005705/0.6822, allocations: 279.2 kB / 1.381 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.6822, allocations: 85.02 kB / 1.381 GB, free: 9.586 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.6823, allocations: 0 / 1.381 GB, free: 9.586 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.6824, allocations: 27.97 kB / 1.381 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.6825, allocations: 11.98 kB / 1.381 GB, free: 9.547 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.6825, allocations: 0 / 1.381 GB, free: 9.547 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.6826, allocations: 91.27 kB / 1.381 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6826, allocations: 4 kB / 1.381 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002062/0.6828, allocations: 8 kB / 1.381 GB, free: 9.445 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.0001612/0.6829, allocations: 104 kB / 1.381 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005034/0.6834, allocations: 143.9 kB / 1.381 GB, free: 9.191 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6835, allocations: 0 / 1.381 GB, free: 9.191 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.6837, allocations: 79.88 kB / 1.381 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.684, allocations: 15.88 kB / 1.381 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.6844, allocations: 180.3 kB / 1.382 GB, free: 8.895 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.6847, allocations: 0.6926 MB / 1.382 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.106e-05/0.6848, allocations: 4 kB / 1.382 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.6848, allocations: 7.438 kB / 1.382 GB, free: 8.168 MB / 0.8855 GB Notification: Performance of SimCode: time 4.71e-07/0.6848, allocations: 0 / 1.382 GB, free: 8.168 MB / 0.8855 GB Notification: Performance of Templates: time 0.003163/0.688, allocations: 0.8122 MB / 1.383 GB, free: 7.371 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches