Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",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.008392/0.008392, allocations: 99.75 kB / 15.73 MB, free: 6.043 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.00204/0.00204, allocations: 192.2 kB / 16.67 MB, free: 5.953 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.861/1.861, allocations: 222.9 MB / 240.4 MB, free: 15.16 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 2.444/2.444, allocations: 437.1 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 68.11 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8146/0.8161, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01603/0.8321, allocations: 15.4 MB / 1.181 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00629/0.8385, allocations: 4.666 MB / 1.186 GB, free: 15.62 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006027/0.8391, allocations: 23.88 kB / 1.186 GB, free: 15.6 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006594/0.8398, allocations: 190.6 kB / 1.186 GB, free: 15.41 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.8415, allocations: 0.5907 MB / 1.187 GB, free: 14.82 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.8431, allocations: 0.5729 MB / 1.187 GB, free: 14.25 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001392/0.8445, allocations: 0.9665 MB / 1.188 GB, free: 13.28 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005418/0.8451, allocations: 323.8 kB / 1.188 GB, free: 12.96 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008284/0.8459, allocations: 410.3 kB / 1.189 GB, free: 12.55 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004475/0.8464, allocations: 314.6 kB / 1.189 GB, free: 12.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.143e-05/0.8465, allocations: 24 kB / 1.189 GB, free: 12.22 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005317/0.847, allocations: 215.6 kB / 1.189 GB, free: 12.01 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.8471, allocations: 83.62 kB / 1.189 GB, free: 11.93 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.8474, allocations: 202.8 kB / 1.19 GB, free: 11.73 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008316/0.8482, allocations: 0.5132 MB / 1.19 GB, free: 11.22 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8482, allocations: 0 / 1.19 GB, free: 11.22 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8482, allocations: 0 / 1.19 GB, free: 11.22 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.8482, allocations: 0 / 1.19 GB, free: 11.22 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001154/0.8494, allocations: 0.7547 MB / 1.191 GB, free: 10.42 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.8495, allocations: 12.02 kB / 1.191 GB, free: 10.41 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.94e-05/0.8495, allocations: 54.73 kB / 1.191 GB, free: 10.34 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.218e-05/0.8496, allocations: 48.66 kB / 1.191 GB, free: 10.3 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006848/0.8503, allocations: 410.4 kB / 1.191 GB, free: 9.859 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.8504, allocations: 24.38 kB / 1.191 GB, free: 9.836 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.327e-05/0.8504, allocations: 28 kB / 1.191 GB, free: 9.809 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.8508, allocations: 191.3 kB / 1.192 GB, free: 9.617 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.8508, allocations: 3.938 kB / 1.192 GB, free: 9.613 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.8508, allocations: 8 kB / 1.192 GB, free: 9.605 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.8508, allocations: 12 kB / 1.192 GB, free: 9.594 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.851, allocations: 129.7 kB / 1.192 GB, free: 9.469 MB / 0.92 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.001509/0.8526, allocations: 0.8948 MB / 1.193 GB, free: 8.496 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004435/0.853, allocations: 106.6 kB / 1.193 GB, free: 8.383 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.75e-05/0.8531, allocations: 48.83 kB / 1.193 GB, free: 8.332 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002599/0.8534, allocations: 340.4 kB / 1.193 GB, free: 7.926 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.8534, allocations: 34.5 kB / 1.193 GB, free: 7.883 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 2.404e-06/0.8534, allocations: 0 / 1.193 GB, free: 7.883 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0003805/0.8538, allocations: 181.3 kB / 1.193 GB, free: 7.699 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.8539, allocations: 51.41 kB / 1.193 GB, free: 7.637 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000525/0.8544, allocations: 461.9 kB / 1.194 GB, free: 7.176 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.8544, allocations: 25.7 kB / 1.194 GB, free: 7.145 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.8546, allocations: 208.5 kB / 1.194 GB, free: 6.938 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.8546, allocations: 51.58 kB / 1.194 GB, free: 6.887 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-05/0.8547, allocations: 57.64 kB / 1.194 GB, free: 6.824 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.8548, allocations: 350.7 kB / 1.194 GB, free: 6.473 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.865e-05/0.8549, allocations: 51.97 kB / 1.194 GB, free: 6.422 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.8551, allocations: 106.1 kB / 1.195 GB, free: 6.301 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.8553, allocations: 135.3 kB / 1.195 GB, free: 6.156 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.8553, allocations: 0 / 1.195 GB, free: 6.156 MB / 0.92 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003601/0.8557, allocations: 217.2 kB / 1.195 GB, free: 5.938 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.8557, allocations: 8 kB / 1.195 GB, free: 5.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.8557, allocations: 0 / 1.195 GB, free: 5.93 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.8557, allocations: 0 / 1.195 GB, free: 5.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.8559, allocations: 47.91 kB / 1.195 GB, free: 5.883 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.856, allocations: 7.938 kB / 1.195 GB, free: 5.875 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.8563, allocations: 39.77 kB / 1.195 GB, free: 5.836 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.8563, allocations: 11.98 kB / 1.195 GB, free: 5.824 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 0.000157/0.8565, allocations: 153.7 kB / 1.195 GB, free: 5.664 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.8566, allocations: 43.72 kB / 1.195 GB, free: 5.621 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003507/0.8569, allocations: 191 kB / 1.195 GB, free: 5.434 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.8569, allocations: 0 / 1.195 GB, free: 5.434 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.857, allocations: 4 kB / 1.195 GB, free: 5.43 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.857, allocations: 0 / 1.195 GB, free: 5.43 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000768/0.8577, allocations: 0.6302 MB / 1.196 GB, free: 4.73 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.8578, allocations: 96 / 1.196 GB, free: 4.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.8579, allocations: 20 kB / 1.196 GB, free: 4.711 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.8579, allocations: 7.984 kB / 1.196 GB, free: 4.703 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.8579, allocations: 12.11 kB / 1.196 GB, free: 4.691 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.433e-06/0.8579, allocations: 8 kB / 1.196 GB, free: 4.684 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.8579, allocations: 7.984 kB / 1.196 GB, free: 4.676 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.8582, allocations: 294.5 kB / 1.196 GB, free: 4.359 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.8584, allocations: 140.8 kB / 1.196 GB, free: 4.203 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.381e-05/0.8584, allocations: 0 / 1.196 GB, free: 4.203 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.8587, allocations: 19.92 kB / 1.196 GB, free: 4.184 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.8587, allocations: 11.92 kB / 1.196 GB, free: 4.172 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.8587, allocations: 4 kB / 1.196 GB, free: 4.168 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003816/0.8591, allocations: 323.1 kB / 1.197 GB, free: 3.855 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.493e-06/0.8591, allocations: 4 kB / 1.197 GB, free: 3.852 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004551/0.8596, allocations: 111.7 kB / 1.197 GB, free: 3.742 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009492/0.8605, allocations: 0.9626 MB / 1.198 GB, free: 2.754 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003133/0.8609, allocations: 131.9 kB / 1.198 GB, free: 2.625 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.8609, allocations: 3.938 kB / 1.198 GB, free: 2.621 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.019e-05/0.861, allocations: 55.92 kB / 1.198 GB, free: 2.566 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.862, allocations: 172.9 kB / 1.198 GB, free: 2.398 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004371/0.8664, allocations: 3.285 MB / 1.201 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.8668, allocations: 0.8035 MB / 1.202 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002803/0.8671, allocations: 75.5 kB / 1.202 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.8672, allocations: 123.4 kB / 1.202 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of SimCode: time 9.82e-07/0.8672, allocations: 0 / 1.202 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03207/0.8993, allocations: 11.19 MB / 1.213 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.19/9.09, allocations: 11.48 kB / 1.213 GB, free: 3.07 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_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_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu > Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches