Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 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.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_10_Buildings_Experimental_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.001233/0.001233, allocations: 108 kB / 15.6 MB, free: 132 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.001284/0.001284, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.407/2.407, allocations: 437.1 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6485/0.6499, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1472/0.7971, allocations: 163.2 MB / 1.177 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009964/0.8071, allocations: 8.123 MB / 1.185 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007337/0.8079, allocations: 15.94 kB / 1.185 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.809, allocations: 349.8 kB / 1.185 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.8112, allocations: 0.7151 MB / 1.186 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00524/0.8165, allocations: 2.136 MB / 1.188 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00172/0.8182, allocations: 1.364 MB / 1.189 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000789/0.819, allocations: 433.4 kB / 1.19 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00319/0.8222, allocations: 1.412 MB / 1.191 GB, free: 84 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008062/0.823, allocations: 446.2 kB / 1.191 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.8232, allocations: 56 kB / 1.192 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00682/0.83, allocations: 3.527 MB / 1.195 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002547/0.8303, allocations: 155.4 kB / 1.195 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005682/0.8309, allocations: 350.4 kB / 1.195 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004332/0.8352, allocations: 2.58 MB / 1.198 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.8352, allocations: 7.984 kB / 1.198 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8353, allocations: 0 / 1.198 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.886e-05/0.8353, allocations: 0 / 1.198 GB, free: 8.969 MB / 0.9512 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.0023/0.8376, allocations: 1.013 MB / 1.199 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.8377, allocations: 8.031 kB / 1.199 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/0.8378, allocations: 102.5 kB / 1.199 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.839, allocations: 139.2 kB / 1.199 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006001/0.8396, allocations: 413.6 kB / 1.2 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.8397, allocations: 41.31 kB / 1.2 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.792e-05/0.8398, allocations: 52 kB / 1.2 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.8409, allocations: 0.6565 MB / 1.2 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.8409, allocations: 7.938 kB / 1.2 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.963e-05/0.841, allocations: 24 kB / 1.2 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.841, allocations: 16 kB / 1.2 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009708/0.842, allocations: 467.6 kB / 1.201 GB, free: 5.91 MB / 0.9512 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.01564/0.8576, allocations: 6.479 MB / 1.207 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.8581, allocations: 164.4 kB / 1.207 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.8584, allocations: 121.3 kB / 1.207 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0112/0.8696, allocations: 3.814 MB / 1.211 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.8697, allocations: 34.8 kB / 1.211 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=27): time 2.595e-06/0.8697, allocations: 4 kB / 1.211 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40): time 0.08222/0.9519, allocations: 30.37 MB / 1.241 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.952, allocations: 144.5 kB / 1.241 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005781/0.9526, allocations: 457.8 kB / 1.241 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.774e-05/0.9527, allocations: 33.7 kB / 1.241 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.9529, allocations: 299.5 kB / 1.242 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.953, allocations: 149.9 kB / 1.242 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.9532, allocations: 98.23 kB / 1.242 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.9533, allocations: 366.7 kB / 1.242 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/0.9537, allocations: 185 kB / 1.242 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005297/0.9543, allocations: 349.2 kB / 1.243 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008809/0.9552, allocations: 0.5202 MB / 1.243 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.9552, allocations: 0 / 1.243 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001699/0.9569, allocations: 0.6936 MB / 1.244 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.9569, allocations: 7.984 kB / 1.244 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.9569, allocations: 8 kB / 1.244 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004656/0.9574, allocations: 113.6 kB / 1.244 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.9579, allocations: 116 kB / 1.244 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002748/0.9606, allocations: 3.413 MB / 1.248 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/0.9611, allocations: 27.98 kB / 1.248 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/0.9611, allocations: 27.92 kB / 1.248 GB, free: 5.027 MB / 0.9981 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.000222/0.9614, allocations: 199.1 kB / 1.248 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.9616, allocations: 59.28 kB / 1.248 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.9629, allocations: 0.6488 MB / 1.248 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.9629, allocations: 4 kB / 1.248 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.9629, allocations: 0 / 1.248 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.9629, allocations: 3.984 kB / 1.248 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.9649, allocations: 1.206 MB / 1.25 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.9649, allocations: 4.5 kB / 1.25 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.9652, allocations: 67.91 kB / 1.25 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002287/0.9655, allocations: 68.8 kB / 1.25 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.9655, allocations: 12 kB / 1.25 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.967, allocations: 1.744 MB / 1.252 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.967, allocations: 4 kB / 1.252 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4007/1.368, allocations: 0.7206 MB / 1.252 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/1.368, allocations: 125 kB / 1.252 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/1.368, allocations: 12.28 kB / 1.252 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/1.369, allocations: 20.75 kB / 1.252 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.693e-05/1.369, allocations: 39.62 kB / 1.252 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.693e-05/1.369, allocations: 17.81 kB / 1.252 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004584/1.369, allocations: 359.1 kB / 1.253 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/1.369, allocations: 0 / 1.253 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001689/1.371, allocations: 0.5563 MB / 1.253 GB, free: 220.6 MB / 0.9981 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.003347/1.374, allocations: 1.726 MB / 1.255 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001468/1.376, allocations: 0.6714 MB / 1.256 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.376, allocations: 3.812 kB / 1.256 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005185/1.376, allocations: 281.1 kB / 1.256 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/1.378, allocations: 308.8 kB / 1.256 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007779/1.386, allocations: 5.474 MB / 1.262 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/1.386, allocations: 0.8652 MB / 1.262 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005778/1.387, allocations: 107.8 kB / 1.263 GB, free: 215.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/1.387, allocations: 188.7 kB / 1.263 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/1.387, allocations: 0 / 1.263 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05693/1.444, allocations: 28.52 MB / 1.291 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/12.42, allocations: 6.812 kB / 1.291 GB, free: 208.7 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches