Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001371/0.001371, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 194.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.628/2.628, allocations: 437 MB / 0.7104 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001485, allocations: 71.83 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8399/0.8414, allocations: 151.6 MB / 1.017 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003548/0.845, allocations: 1.758 MB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002087/0.8452, allocations: 83.67 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.8453, allocations: 0 / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.997e-05/0.8454, allocations: 7.875 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.853e-05/0.8455, allocations: 23.78 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001082/0.8456, allocations: 31.97 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.8458, allocations: 107.6 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.846, allocations: 57.08 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.294e-05/0.8461, allocations: 39.86 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.235e-05/0.8462, allocations: 47.77 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.8462, allocations: 12 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.004e-05/0.8462, allocations: 12 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.428e-05/0.8463, allocations: 27.91 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.8464, allocations: 43.73 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.8466, allocations: 113.6 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8466, allocations: 0 / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8466, allocations: 0 / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.8466, allocations: 0 / 1.02 GB, free: 184 kB / 0.7637 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.0007572/0.8474, allocations: 434.9 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.8474, allocations: 8.031 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.8475, allocations: 12.84 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.8477, allocations: 200.1 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.8477, allocations: 4.375 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.8478, allocations: 12.38 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003759/0.8481, allocations: 123.7 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.8482, allocations: 192 / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.8482, allocations: 7.938 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.8482, allocations: 4 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/0.8486, allocations: 123.8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007279/0.8494, allocations: 392.4 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.8497, allocations: 86.5 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.85, allocations: 60.94 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.85, allocations: 4 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.85, allocations: 38.5 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.85, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0008525/0.8509, allocations: 201.3 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.8509, allocations: 55.39 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.8512, allocations: 119.7 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.8512, allocations: 25.7 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.8513, allocations: 111.9 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.8513, allocations: 15.8 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.8513, allocations: 17.72 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.8515, allocations: 326.8 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.8517, allocations: 43.95 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.8519, allocations: 51.94 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/0.8524, allocations: 112.7 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.8524, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004479/0.8528, allocations: 141.5 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.8528, allocations: 7.938 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.8529, allocations: 3.984 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.8529, allocations: 3.938 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.853, allocations: 31.97 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.8531, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.8532, allocations: 19.92 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.8532, allocations: 4 kB / 1.022 GB, free: 13.21 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.978e-05/0.8533, allocations: 119.1 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.8533, allocations: 7.906 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.8533, allocations: 12.38 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001242/0.8535, allocations: 12.3 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.8535, allocations: 4 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.8535, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.8538, allocations: 201.6 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.8538, allocations: 0 / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.8541, allocations: 27.97 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.8541, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.8541, allocations: 4 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.8541, allocations: 3.938 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.8541, allocations: 0 / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005458/0.8547, allocations: 239.3 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.8547, allocations: 88.95 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.8548, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.8549, allocations: 27.91 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.855, allocations: 7.922 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.855, allocations: 4 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.994e-05/0.8551, allocations: 105.2 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.8551, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002205/0.8553, allocations: 19.84 kB / 1.023 GB, free: 12.25 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001428/0.8555, allocations: 99.25 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006784/0.8562, allocations: 123.9 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8562, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003475/0.8565, allocations: 55.89 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.857, allocations: 15.98 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.8575, allocations: 194.7 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.8578, allocations: 0.6924 MB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.353e-05/0.8578, allocations: 11.98 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.8579, allocations: 11.38 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8579, allocations: 0 / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of Templates: time 0.003927/0.8618, allocations: 1.086 MB / 1.025 GB, free: 9.922 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches