Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.DXSystems.Cooling.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.DXSystems.Cooling.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.DXSystems.Cooling.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.DXSystems.Cooling.BaseClasses.Examples.InputPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 100.2 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.001578/0.001578, 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.497/1.497, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.708/2.708, allocations: 436.5 MB / 0.7104 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003578, allocations: 8 kB / 0.8708 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8478/0.8482, allocations: 153.7 MB / 1.021 GB, free: 1.145 MB / 0.7638 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002101/0.8503, allocations: 1.432 MB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000152/0.8505, allocations: 87.73 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.8506, allocations: 4 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.08e-05/0.8506, allocations: 3.938 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.058e-05/0.8507, allocations: 19.89 kB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.8508, allocations: 19.97 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.8509, allocations: 59.88 kB / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.8511, allocations: 49.27 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.659e-05/0.8512, allocations: 27.86 kB / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.158e-05/0.8512, allocations: 35.78 kB / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.8513, allocations: 8 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.344e-05/0.8513, allocations: 4 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/0.8513, allocations: 15.92 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.8514, allocations: 37.64 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.8515, allocations: 77.78 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.8515, allocations: 0 / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.988e-06/0.8516, allocations: 0 / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.8516, allocations: 0 / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008039/0.8524, allocations: 434.9 kB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.8524, allocations: 11.98 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.8525, allocations: 15.84 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.8527, allocations: 198.8 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.8528, allocations: 7.953 kB / 1.023 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.8528, allocations: 12 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.8532, allocations: 137.6 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.8532, allocations: 0 / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.8532, allocations: 0 / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.8532, allocations: 4 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004844/0.8537, allocations: 153.4 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006495/0.8544, allocations: 384.6 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.8548, allocations: 118.4 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.8549, allocations: 4 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.8549, allocations: 34.56 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.8549, allocations: 0 / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0008495/0.8558, allocations: 245.6 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.8558, allocations: 51.41 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.856, allocations: 129.8 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.856, allocations: 29.64 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.8561, allocations: 104 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.8561, allocations: 19.72 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.8562, allocations: 4 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.8563, allocations: 322.8 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.8566, allocations: 63.95 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.8568, allocations: 63.94 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.857, allocations: 67.95 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.857, allocations: 0 / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004917/0.8575, allocations: 177.5 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.8576, allocations: 6.031 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.8576, allocations: 0 / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.8576, allocations: 4 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.8578, allocations: 35.91 kB / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.8578, allocations: 7.938 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.8579, allocations: 31.91 kB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.8579, allocations: 4 kB / 1.025 GB, free: 12.22 MB / 0.7794 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.127e-05/0.858, allocations: 117.8 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.8581, allocations: 7.906 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/0.8582, allocations: 20.3 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.8582, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8582, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.8582, allocations: 4 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.8585, allocations: 201.6 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.8585, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.8586, allocations: 31.97 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.8587, allocations: 4 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.8587, allocations: 0 / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.8587, allocations: 3.984 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8587, allocations: 4 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.8592, allocations: 275.8 kB / 1.026 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.8593, allocations: 93 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.8593, allocations: 0 / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.8595, allocations: 19.98 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/0.8595, allocations: 11.98 kB / 1.026 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.8595, allocations: 0 / 1.026 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.012e-05/0.8596, allocations: 101.4 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8596, allocations: 0 / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002321/0.8599, allocations: 23.94 kB / 1.026 GB, free: 11.23 MB / 0.7794 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.000144/0.86, allocations: 99.23 kB / 1.026 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00052/0.8605, allocations: 147.8 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8605, allocations: 0 / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.8608, allocations: 71.94 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.861, allocations: 20.52 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/0.8616, allocations: 237.1 kB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.8619, allocations: 0.7082 MB / 1.028 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.729e-05/0.8619, allocations: 4.188 kB / 1.028 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.862, allocations: 7.438 kB / 1.028 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.862, allocations: 3.938 kB / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of Templates: time 0.003201/0.8652, allocations: 0.84 MB / 1.028 GB, free: 9.043 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches