Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_9_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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 100.5 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003414, allocations: 12 kB / 0.8145 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.735/0.7353, allocations: 142.3 MB / 0.9535 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.001468/0.7368, allocations: 1.281 MB / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001045/0.7369, allocations: 60.3 kB / 0.9548 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.737, allocations: 0 / 0.9548 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.737, allocations: 4.797 kB / 0.9548 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.977e-05/0.7371, allocations: 14.05 kB / 0.9549 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.107e-05/0.7372, allocations: 14.39 kB / 0.9549 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.602e-05/0.7372, allocations: 46.17 kB / 0.9549 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.7374, allocations: 10.16 kB / 0.9549 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.346e-05/0.7374, allocations: 26.03 kB / 0.9549 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.152e-05/0.7375, allocations: 34 kB / 0.955 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.7375, allocations: 2.156 kB / 0.955 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.7375, allocations: 3.625 kB / 0.955 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.7375, allocations: 9.141 kB / 0.955 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.7376, allocations: 37.48 kB / 0.955 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.339e-05/0.7376, allocations: 43.88 kB / 0.9551 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.7377, allocations: 0 / 0.9551 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.815e-06/0.7377, allocations: 0.9688 kB / 0.9551 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.7377, allocations: 0 / 0.9551 GB, free: 6.84 MB / 0.7169 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.0005143/0.7382, allocations: 404.5 kB / 0.9555 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.7382, allocations: 9.062 kB / 0.9555 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.7383, allocations: 11.27 kB / 0.9555 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.628e-05/0.7384, allocations: 175.5 kB / 0.9556 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.7384, allocations: 1 kB / 0.9556 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.7384, allocations: 2.5 kB / 0.9556 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.7387, allocations: 118 kB / 0.9558 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.756e-05/0.7388, allocations: 0 / 0.9558 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.7388, allocations: 0.9062 kB / 0.9558 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.7388, allocations: 5.156 kB / 0.9558 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/0.7393, allocations: 136.8 kB / 0.9559 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.7396, allocations: 306.7 kB / 0.9562 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.74, allocations: 105.9 kB / 0.9563 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.74, allocations: 4.812 kB / 0.9563 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.74, allocations: 35.64 kB / 0.9563 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.74, allocations: 0.8438 kB / 0.9563 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0007628/0.7408, allocations: 247.2 kB / 0.9566 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.7408, allocations: 52.41 kB / 0.9566 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.531e-05/0.7409, allocations: 116.5 kB / 0.9567 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.7409, allocations: 29.7 kB / 0.9568 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.741, allocations: 91.75 kB / 0.9568 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.741, allocations: 25.95 kB / 0.9569 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.741, allocations: 0 / 0.9569 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.524e-05/0.7411, allocations: 320 kB / 0.9572 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.7413, allocations: 62.73 kB / 0.9572 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.7415, allocations: 69.59 kB / 0.9573 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.7418, allocations: 61.73 kB / 0.9574 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7418, allocations: 4 kB / 0.9574 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004807/0.7423, allocations: 174.9 kB / 0.9575 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.7423, allocations: 4.875 kB / 0.9575 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7423, allocations: 0 / 0.9575 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.7423, allocations: 3.953 kB / 0.9575 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.7425, allocations: 37.47 kB / 0.9576 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.7425, allocations: 3.938 kB / 0.9576 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.7426, allocations: 30 kB / 0.9576 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.7427, allocations: 1.188 kB / 0.9576 GB, free: 4.727 MB / 0.7169 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 8.629e-05/0.7427, allocations: 118.7 kB / 0.9577 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.7428, allocations: 3.188 kB / 0.9577 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.7428, allocations: 10.06 kB / 0.9577 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.7428, allocations: 1.562 kB / 0.9577 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.7428, allocations: 3.953 kB / 0.9577 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.7428, allocations: 3.984 kB / 0.9577 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.743, allocations: 186.5 kB / 0.9579 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.743, allocations: 1.906 kB / 0.9579 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.7432, allocations: 43.69 kB / 0.958 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7432, allocations: 0 / 0.958 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.7432, allocations: 0 / 0.958 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7432, allocations: 1.719 kB / 0.958 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7432, allocations: 3.984 kB / 0.958 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.7437, allocations: 276.6 kB / 0.9582 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.7437, allocations: 83.73 kB / 0.9583 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.7438, allocations: 0 / 0.9583 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.7439, allocations: 29.62 kB / 0.9583 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.744, allocations: 10.83 kB / 0.9583 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/0.744, allocations: 5.406 kB / 0.9584 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.744, allocations: 97.06 kB / 0.9584 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.4e-07/0.744, allocations: 0 / 0.9584 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002269/0.7443, allocations: 11.22 kB / 0.9585 GB, free: 3.941 MB / 0.7169 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.0001336/0.7444, allocations: 106.9 kB / 0.9586 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004826/0.7449, allocations: 147 kB / 0.9587 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7449, allocations: 0 / 0.9587 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.7451, allocations: 72.08 kB / 0.9588 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.7454, allocations: 13.98 kB / 0.9588 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.7457, allocations: 195.6 kB / 0.959 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.7459, allocations: 0.6891 MB / 0.9596 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.839e-05/0.7459, allocations: 2.75 kB / 0.9596 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.7459, allocations: 8.812 kB / 0.9597 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7459, allocations: 1.375 kB / 0.9597 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of Templates: time 0.003193/0.7491, allocations: 0.806 MB / 0.9604 GB, free: 2.469 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches