Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01467/0.01467, allocations: 98.94 kB / 15.73 MB, free: 6.008 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.002842/0.002842, allocations: 189.9 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.317/2.317, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.267/4.267, allocations: 437.1 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002776/0.002776, allocations: 64.12 kB / 1.018 GB, free: 9.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222/1.225, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.1227/1.348, allocations: 75.22 MB / 1.24 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03365/1.381, allocations: 15.16 MB / 1.254 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005926/1.387, allocations: 67.62 kB / 1.254 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005314/1.393, allocations: 0.8267 MB / 1.255 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0159/1.409, allocations: 2.594 MB / 1.258 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00832/1.417, allocations: 1.389 MB / 1.259 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01367/1.431, allocations: 4.407 MB / 1.263 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004337/1.435, allocations: 1.441 MB / 1.265 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008526/1.444, allocations: 1.636 MB / 1.266 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004756/1.449, allocations: 1.214 MB / 1.268 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006302/1.449, allocations: 164 kB / 1.268 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007431/1.457, allocations: 1.4 MB / 1.269 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001141/1.458, allocations: 406.6 kB / 1.27 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002793/1.461, allocations: 0.906 MB / 1.27 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01005/1.471, allocations: 2.865 MB / 1.273 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/1.471, allocations: 0 / 1.273 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.027e-06/1.471, allocations: 0 / 1.273 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.498e-05/1.471, allocations: 0 / 1.273 GB, free: 5.727 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.008039/1.479, allocations: 2.135 MB / 1.275 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 8.911e-05/1.479, allocations: 12.92 kB / 1.275 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000294/1.48, allocations: 152.1 kB / 1.276 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/1.481, allocations: 231.8 kB / 1.276 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004688/1.486, allocations: 1.529 MB / 1.277 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/1.486, allocations: 85.92 kB / 1.277 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/1.486, allocations: 100 kB / 1.277 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/1.489, allocations: 1.104 MB / 1.278 GB, free: 228 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.682e-05/1.489, allocations: 4 kB / 1.278 GB, free: 224 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/1.489, allocations: 40 kB / 1.279 GB, free: 184 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.193e-05/1.489, allocations: 27.98 kB / 1.279 GB, free: 156 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/1.491, allocations: 0.89 MB / 1.279 GB, free: 15.26 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008654/1.5, allocations: 4.909 MB / 1.284 GB, free: 10.07 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/1.502, allocations: 0.6197 MB / 1.285 GB, free: 9.438 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007813/1.503, allocations: 352.1 kB / 1.285 GB, free: 9.094 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009435/1.504, allocations: 0.8355 MB / 1.286 GB, free: 8.074 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.058e-05/1.504, allocations: 43.11 kB / 1.286 GB, free: 8.023 MB / 1.014 GB Notification: Performance of pre-optimization done (n=61): time 6.081e-06/1.504, allocations: 3.984 kB / 1.286 GB, free: 8.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=61): time 0.007782/1.512, allocations: 1.69 MB / 1.288 GB, free: 6.305 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/1.512, allocations: 63.91 kB / 1.288 GB, free: 6.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/1.514, allocations: 1.237 MB / 1.289 GB, free: 4.977 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/1.514, allocations: 37.7 kB / 1.289 GB, free: 4.934 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007467/1.515, allocations: 0.6152 MB / 1.29 GB, free: 4.312 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/1.515, allocations: 222.1 kB / 1.29 GB, free: 4.094 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003036/1.515, allocations: 158.6 kB / 1.29 GB, free: 3.934 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002259/1.516, allocations: 333.9 kB / 1.29 GB, free: 3.602 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000747/1.516, allocations: 292.7 kB / 1.291 GB, free: 3.312 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/1.517, allocations: 0.4928 MB / 1.291 GB, free: 2.742 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/1.519, allocations: 0.709 MB / 1.292 GB, free: 1.984 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/1.519, allocations: 4 kB / 1.292 GB, free: 1.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005004/1.524, allocations: 1.277 MB / 1.293 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/1.524, allocations: 8 kB / 1.293 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/1.524, allocations: 11.92 kB / 1.293 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006653/1.525, allocations: 133.1 kB / 1.293 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006453/1.526, allocations: 163.8 kB / 1.293 GB, free: 388 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/1.527, allocations: 0.7045 MB / 1.294 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/1.528, allocations: 123.3 kB / 1.294 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-05/1.528, allocations: 35.98 kB / 1.294 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001391/1.529, allocations: 0.5488 MB / 1.295 GB, free: 14.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009681/1.53, allocations: 0.489 MB / 1.295 GB, free: 14.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001565/1.532, allocations: 0.7012 MB / 1.296 GB, free: 13.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.257e-06/1.532, allocations: 0 / 1.296 GB, free: 13.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004993/1.537, allocations: 1.274 MB / 1.297 GB, free: 12.33 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/1.537, allocations: 14.33 kB / 1.297 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.537, allocations: 4 kB / 1.297 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005645/1.538, allocations: 137.1 kB / 1.297 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00067/1.538, allocations: 155.8 kB / 1.297 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/1.539, allocations: 0.7006 MB / 1.298 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/1.541, allocations: 111.6 kB / 1.298 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/1.541, allocations: 28 kB / 1.298 GB, free: 11.16 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004491/1.541, allocations: 228.1 kB / 1.298 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000591/1.542, allocations: 135.2 kB / 1.298 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005321/1.547, allocations: 1.271 MB / 1.3 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.979e-05/1.547, allocations: 8 kB / 1.3 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/1.547, allocations: 0 / 1.3 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00443/1.552, allocations: 1.099 MB / 1.301 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00857/1.56, allocations: 2.614 MB / 1.303 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/1.561, allocations: 8.375 kB / 1.303 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005314/1.561, allocations: 119.8 kB / 1.303 GB, free: 5.523 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005554/1.562, allocations: 128.7 kB / 1.304 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.076e-05/1.562, allocations: 20 kB / 1.304 GB, free: 5.375 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00613/1.568, allocations: 2.649 MB / 1.306 GB, free: 2.574 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.209e-05/1.568, allocations: 7.938 kB / 1.306 GB, free: 2.566 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006366/1.574, allocations: 1.7 MB / 1.308 GB, free: 0.793 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/1.575, allocations: 312 kB / 1.308 GB, free: 480 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004882/1.576, allocations: 19.98 kB / 1.308 GB, free: 460 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/1.577, allocations: 59.94 kB / 1.308 GB, free: 400 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/1.577, allocations: 56.25 kB / 1.308 GB, free: 344 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.577, allocations: 35.97 kB / 1.308 GB, free: 308 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002127/1.58, allocations: 0.8819 MB / 1.309 GB, free: 15.41 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.6e-07/1.58, allocations: 0 / 1.309 GB, free: 15.41 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003748/1.583, allocations: 0.7174 MB / 1.31 GB, free: 14.7 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008064/1.591, allocations: 2.606 MB / 1.312 GB, free: 12.03 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003479/1.595, allocations: 1.117 MB / 1.314 GB, free: 10.91 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.595, allocations: 1.125 kB / 1.314 GB, free: 10.91 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001755/1.597, allocations: 0.5641 MB / 1.314 GB, free: 10.34 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004894/1.602, allocations: 0.7959 MB / 1.315 GB, free: 9.562 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0276/1.629, allocations: 9.862 MB / 1.325 GB, free: 15.39 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/1.631, allocations: 1.175 MB / 1.326 GB, free: 14.19 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002044/1.633, allocations: 311 kB / 1.326 GB, free: 13.88 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/1.634, allocations: 0.5188 MB / 1.326 GB, free: 13.36 MB / 1.061 GB Notification: Performance of SimCode: time 2.615e-06/1.634, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1529/1.787, allocations: 42.55 MB / 1.368 GB, free: 3.242 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.11/25.89, allocations: 19.66 kB / 1.368 GB, free: 3.223 MB / 1.092 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Fluid_HeatPumps_Examples_Carnot_y.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Examples_Carnot_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches