Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",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.008763/0.008763, allocations: 98.42 kB / 15.73 MB, free: 5.98 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.002241/0.002241, allocations: 194.6 kB / 16.68 MB, free: 5.91 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 482.4 MB / 0.7548 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 64.19 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3287, allocations: 162.2 MB / 1.241 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1946/0.5233, allocations: 163.2 MB / 1.401 GB, free: 5.469 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01169/0.5351, allocations: 8.129 MB / 1.409 GB, free: 13.31 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005859/0.5357, allocations: 19.88 kB / 1.409 GB, free: 13.29 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.5367, allocations: 337.8 kB / 1.409 GB, free: 12.96 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.5387, allocations: 0.722 MB / 1.41 GB, free: 12.24 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005222/0.5439, allocations: 2.125 MB / 1.412 GB, free: 10.12 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00187/0.5458, allocations: 1.368 MB / 1.413 GB, free: 8.746 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006822/0.5465, allocations: 441.4 kB / 1.414 GB, free: 8.309 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003316/0.5498, allocations: 1.424 MB / 1.415 GB, free: 6.879 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006905/0.5505, allocations: 438.2 kB / 1.415 GB, free: 6.449 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 8.953e-05/0.5506, allocations: 52 kB / 1.415 GB, free: 6.398 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007233/0.5579, allocations: 3.632 MB / 1.419 GB, free: 2.762 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.5582, allocations: 143.5 kB / 1.419 GB, free: 2.621 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005207/0.5587, allocations: 346.4 kB / 1.42 GB, free: 2.281 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004474/0.5632, allocations: 2.579 MB / 1.422 GB, free: 15.7 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.5632, allocations: 0 / 1.422 GB, free: 15.7 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5632, allocations: 4 kB / 1.422 GB, free: 15.69 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.5633, allocations: 0 / 1.422 GB, free: 15.69 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002208/0.5655, allocations: 1.028 MB / 1.423 GB, free: 14.61 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.5655, allocations: 20.02 kB / 1.423 GB, free: 14.59 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/0.5657, allocations: 98.52 kB / 1.423 GB, free: 14.49 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.5668, allocations: 135.5 kB / 1.423 GB, free: 14.36 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007225/0.5675, allocations: 437.8 kB / 1.424 GB, free: 13.89 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/0.5676, allocations: 41.31 kB / 1.424 GB, free: 13.84 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.557e-05/0.5677, allocations: 48 kB / 1.424 GB, free: 13.8 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.5689, allocations: 0.6565 MB / 1.424 GB, free: 13.09 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.569, allocations: 7.938 kB / 1.424 GB, free: 13.09 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.569, allocations: 23.94 kB / 1.424 GB, free: 13.06 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.569, allocations: 20 kB / 1.424 GB, free: 13.04 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.5701, allocations: 467.5 kB / 1.425 GB, free: 12.59 MB / 1.154 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.01688/0.587, allocations: 6.491 MB / 1.431 GB, free: 5.816 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/0.5875, allocations: 163.2 kB / 1.431 GB, free: 5.648 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.5878, allocations: 117.3 kB / 1.432 GB, free: 5.531 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01248/0.6003, allocations: 3.853 MB / 1.435 GB, free: 1.527 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.825e-05/0.6004, allocations: 42.8 kB / 1.435 GB, free: 1.477 MB / 1.154 GB Notification: Performance of pre-optimization done (n=27): time 1.993e-06/0.6004, allocations: 0 / 1.435 GB, free: 1.477 MB / 1.154 GB Notification: Performance of matching and sorting (n=40): time 0.0897/0.6901, allocations: 30.61 MB / 1.465 GB, free: 2.832 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.17e-05/0.6902, allocations: 140.4 kB / 1.465 GB, free: 2.664 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006154/0.6909, allocations: 465.8 kB / 1.466 GB, free: 2.203 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.6909, allocations: 33.7 kB / 1.466 GB, free: 2.164 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.6912, allocations: 312.1 kB / 1.466 GB, free: 1.852 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.6913, allocations: 150.7 kB / 1.466 GB, free: 1.703 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.6915, allocations: 106.2 kB / 1.466 GB, free: 1.594 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.6917, allocations: 358.8 kB / 1.467 GB, free: 1.234 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004494/0.6921, allocations: 181 kB / 1.467 GB, free: 1.059 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006147/0.6928, allocations: 355.4 kB / 1.467 GB, free: 0.6406 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.6938, allocations: 0.5195 MB / 1.468 GB, free: 64 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/0.6938, allocations: 4 kB / 1.468 GB, free: 60 kB / 1.186 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001844/0.6957, allocations: 0.6938 MB / 1.468 GB, free: 15.35 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.6957, allocations: 9.562 kB / 1.468 GB, free: 15.34 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.6957, allocations: 7.984 kB / 1.468 GB, free: 15.33 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000507/0.6962, allocations: 122 kB / 1.469 GB, free: 15.21 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/0.6967, allocations: 115.8 kB / 1.469 GB, free: 15.09 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003545/0.7003, allocations: 3.414 MB / 1.472 GB, free: 11.4 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005382/0.7008, allocations: 32.08 kB / 1.472 GB, free: 11.37 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.584e-05/0.7009, allocations: 24 kB / 1.472 GB, free: 11.35 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000282/0.7012, allocations: 197.6 kB / 1.472 GB, free: 11.14 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/0.7014, allocations: 59.61 kB / 1.472 GB, free: 11.09 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.7029, allocations: 0.6469 MB / 1.473 GB, free: 10.41 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.703, allocations: 4 kB / 1.473 GB, free: 10.41 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.703, allocations: 4 kB / 1.473 GB, free: 10.4 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.703, allocations: 0 / 1.473 GB, free: 10.4 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.7053, allocations: 1.201 MB / 1.474 GB, free: 9.098 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.7053, allocations: 7.984 kB / 1.474 GB, free: 9.09 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.7056, allocations: 68.03 kB / 1.474 GB, free: 9.023 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002745/0.7059, allocations: 73.3 kB / 1.474 GB, free: 8.949 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.706, allocations: 8 kB / 1.474 GB, free: 8.941 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.7079, allocations: 1.744 MB / 1.476 GB, free: 7.062 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.7079, allocations: 4 kB / 1.476 GB, free: 7.059 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.7095, allocations: 0.7324 MB / 1.477 GB, free: 6.258 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.7096, allocations: 128.8 kB / 1.477 GB, free: 6.113 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.403e-05/0.7097, allocations: 8 kB / 1.477 GB, free: 6.105 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/0.7101, allocations: 19.98 kB / 1.477 GB, free: 6.086 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.471e-05/0.7102, allocations: 39.84 kB / 1.477 GB, free: 6.047 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/0.7103, allocations: 20.05 kB / 1.477 GB, free: 6.027 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004731/0.7107, allocations: 358.8 kB / 1.477 GB, free: 5.676 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7107, allocations: 0 / 1.477 GB, free: 5.676 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00169/0.7124, allocations: 0.5617 MB / 1.478 GB, free: 5.113 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (volDyn.VWat,volSte.VWat) * 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 (29): * Single equations (assignments): 28 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003911/0.7164, allocations: 1.742 MB / 1.479 GB, free: 3.297 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001635/0.718, allocations: 0.6755 MB / 1.48 GB, free: 2.598 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.718, allocations: 4 kB / 1.48 GB, free: 2.594 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006038/0.7186, allocations: 281.5 kB / 1.48 GB, free: 2.309 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.7203, allocations: 307.9 kB / 1.481 GB, free: 2.016 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009101/0.7294, allocations: 5.337 MB / 1.486 GB, free: 12.36 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/0.73, allocations: 0.8628 MB / 1.487 GB, free: 11.46 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0004951/0.7305, allocations: 119.6 kB / 1.487 GB, free: 11.36 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.7308, allocations: 195.3 kB / 1.487 GB, free: 11.17 MB / 1.217 GB Notification: Performance of SimCode: time 8.11e-07/0.7308, allocations: 0 / 1.487 GB, free: 11.17 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07548/0.8062, allocations: 28.55 MB / 1.515 GB, free: 15.04 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/15.92, allocations: 5.781 kB / 1.515 GB, free: 15.03 MB / 1.248 GB (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches