Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.439/1.439, allocations: 249.3 MB / 261.8 MB, free: 5.848 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.001081/0.001081, allocations: 184.6 kB / 321.3 MB, free: 14.64 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.645/1.645, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0008974/0.0008973, allocations: 82.55 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.608e-05/3.612e-05, allocations: 4 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2559, allocations: 106.3 MB / 0.8918 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8733/1.129, allocations: 132.2 MB / 1.021 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/1.13, allocations: 91.44 kB / 1.021 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003505/1.133, allocations: 1.255 MB / 1.022 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/1.133, allocations: 0 / 1.022 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.508e-06/1.133, allocations: 4 kB / 1.022 GB, free: 1.305 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000519/1.134, allocations: 393.6 kB / 1.023 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/1.134, allocations: 8.031 kB / 1.023 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/1.134, allocations: 7.906 kB / 1.023 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/1.134, allocations: 178.8 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/1.134, allocations: 4 kB / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/1.134, allocations: 4 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/1.134, allocations: 58.44 kB / 1.023 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/1.134, allocations: 0 / 1.023 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/1.134, allocations: 3.938 kB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/1.134, allocations: 0 / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.981e-05/1.134, allocations: 30.31 kB / 1.023 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/1.135, allocations: 309.3 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/1.135, allocations: 63.7 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.874e-05/1.135, allocations: 27.48 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/1.135, allocations: 4 kB / 1.023 GB, free: 168 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/1.135, allocations: 30.56 kB / 1.023 GB, free: 128 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/1.135, allocations: 0 / 1.023 GB, free: 128 kB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002161/1.135, allocations: 75.72 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/1.135, allocations: 54 kB / 1.023 GB, free: 16 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.557e-05/1.136, allocations: 112.5 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/1.136, allocations: 25.7 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/1.136, allocations: 91.62 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/1.136, allocations: 17.78 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/1.136, allocations: 3.938 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.136, allocations: 321.8 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.781e-05/1.136, allocations: 18.44 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.307e-05/1.136, allocations: 14.38 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.756e-05/1.136, allocations: 18.88 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.136, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001256/1.136, allocations: 70.91 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/1.136, allocations: 4 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/1.136, allocations: 4.062 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/1.136, allocations: 7.938 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/1.136, allocations: 35.97 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/1.136, allocations: 4.562 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/1.137, allocations: 23.97 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/1.137, allocations: 11.89 kB / 1.024 GB, free: 15.24 MB / 0.6511 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 () * 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 8.485e-05/1.137, allocations: 108.1 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/1.137, allocations: 7.906 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/1.137, allocations: 8.125 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/1.137, allocations: 4 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-06/1.137, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.137, allocations: 3.984 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/1.137, allocations: 180.8 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/1.137, allocations: 0 / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/1.137, allocations: 39.09 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/1.137, allocations: 0 / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/1.137, allocations: 4 kB / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/1.137, allocations: 0 / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.137, allocations: 0 / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/1.137, allocations: 179 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/1.137, allocations: 81.09 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/1.137, allocations: 4 kB / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/1.138, allocations: 27.3 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/1.138, allocations: 7.984 kB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/1.138, allocations: 0 / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.985e-05/1.138, allocations: 95.19 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.138, allocations: 0 / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001895/1.138, allocations: 23.84 kB / 1.025 GB, free: 14.44 MB / 0.6511 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 () * 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.0001609/1.138, allocations: 100.5 kB / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001381/1.138, allocations: 42.81 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.138, allocations: 3.938 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.859e-05/1.138, allocations: 22.44 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/1.138, allocations: 16.14 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/1.139, allocations: 104.2 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/1.139, allocations: 0.6887 MB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.404e-05/1.139, allocations: 4 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/1.139, allocations: 7.438 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of SimCode: time 3.71e-07/1.139, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of Templates: time 0.00291/1.142, allocations: 0.8217 MB / 1.027 GB, free: 12.64 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches