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.007276/0.007276, allocations: 101 kB / 15.73 MB, free: 6.055 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.001848/0.001848, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.486/2.486, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.83 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7258/0.7278, allocations: 151.6 MB / 1.166 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.0179/0.7458, allocations: 15.4 MB / 1.181 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006699/0.7525, allocations: 4.666 MB / 1.186 GB, free: 15.65 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004932/0.753, allocations: 15.88 kB / 1.186 GB, free: 15.64 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005988/0.7537, allocations: 202.6 kB / 1.186 GB, free: 15.44 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.7551, allocations: 0.5634 MB / 1.187 GB, free: 14.87 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.7566, allocations: 0.5729 MB / 1.187 GB, free: 14.3 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001297/0.7579, allocations: 0.9626 MB / 1.188 GB, free: 13.34 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004783/0.7584, allocations: 319.8 kB / 1.188 GB, free: 13.02 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006929/0.7591, allocations: 406.3 kB / 1.189 GB, free: 12.62 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004282/0.7595, allocations: 306.6 kB / 1.189 GB, free: 12.32 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.488e-05/0.7596, allocations: 24 kB / 1.189 GB, free: 12.29 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005333/0.7601, allocations: 215.6 kB / 1.189 GB, free: 12.08 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.7603, allocations: 91.61 kB / 1.189 GB, free: 11.99 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.7605, allocations: 198.8 kB / 1.19 GB, free: 11.8 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007423/0.7612, allocations: 0.5132 MB / 1.19 GB, free: 11.29 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.7612, allocations: 0 / 1.19 GB, free: 11.29 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7612, allocations: 0 / 1.19 GB, free: 11.29 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.7613, allocations: 0 / 1.19 GB, free: 11.29 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.001165/0.7624, allocations: 0.7564 MB / 1.191 GB, free: 10.48 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.7625, allocations: 12.03 kB / 1.191 GB, free: 10.47 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.224e-05/0.7625, allocations: 54.73 kB / 1.191 GB, free: 10.41 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.008e-05/0.7626, allocations: 48.66 kB / 1.191 GB, free: 10.36 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006798/0.7633, allocations: 410.4 kB / 1.191 GB, free: 9.926 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.7634, allocations: 24.38 kB / 1.191 GB, free: 9.902 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.7634, allocations: 24 kB / 1.191 GB, free: 9.879 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.7638, allocations: 191.3 kB / 1.191 GB, free: 9.688 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.7638, allocations: 3.938 kB / 1.191 GB, free: 9.684 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.7638, allocations: 4 kB / 1.191 GB, free: 9.68 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.7638, allocations: 8 kB / 1.191 GB, free: 9.672 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.7641, allocations: 141.6 kB / 1.192 GB, free: 9.535 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.001452/0.7656, allocations: 0.884 MB / 1.192 GB, free: 8.574 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.766, allocations: 114.6 kB / 1.193 GB, free: 8.453 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.608e-05/0.7661, allocations: 52.81 kB / 1.193 GB, free: 8.398 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003873/0.7665, allocations: 336.4 kB / 1.193 GB, free: 7.996 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.7665, allocations: 38.5 kB / 1.193 GB, free: 7.949 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.7665, allocations: 3.938 kB / 1.193 GB, free: 7.945 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0003725/0.7669, allocations: 173.4 kB / 1.193 GB, free: 7.77 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.767, allocations: 55.41 kB / 1.193 GB, free: 7.703 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005985/0.7676, allocations: 457.9 kB / 1.194 GB, free: 7.246 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.7676, allocations: 29.7 kB / 1.194 GB, free: 7.211 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.7678, allocations: 212.5 kB / 1.194 GB, free: 7 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.7678, allocations: 47.58 kB / 1.194 GB, free: 6.953 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.991e-05/0.7679, allocations: 57.64 kB / 1.194 GB, free: 6.891 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.7681, allocations: 350.7 kB / 1.194 GB, free: 6.539 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.7682, allocations: 51.97 kB / 1.194 GB, free: 6.488 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.7684, allocations: 109 kB / 1.194 GB, free: 6.363 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.7686, allocations: 135.3 kB / 1.195 GB, free: 6.219 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.7686, allocations: 0 / 1.195 GB, free: 6.219 MB / 0.92 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003732/0.769, allocations: 217.2 kB / 1.195 GB, free: 6 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.769, allocations: 8 kB / 1.195 GB, free: 5.992 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.769, allocations: 0 / 1.195 GB, free: 5.992 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.769, allocations: 3.984 kB / 1.195 GB, free: 5.988 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.7693, allocations: 47.92 kB / 1.195 GB, free: 5.941 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.7693, allocations: 7.984 kB / 1.195 GB, free: 5.934 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.7696, allocations: 35.77 kB / 1.195 GB, free: 5.898 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.7696, allocations: 11.98 kB / 1.195 GB, free: 5.887 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.0001554/0.7698, allocations: 157.7 kB / 1.195 GB, free: 5.723 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.995e-05/0.7699, allocations: 43.72 kB / 1.195 GB, free: 5.68 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/0.7702, allocations: 190.9 kB / 1.195 GB, free: 5.492 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.7702, allocations: 0 / 1.195 GB, free: 5.492 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.7702, allocations: 4 kB / 1.195 GB, free: 5.488 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.7703, allocations: 3.984 kB / 1.195 GB, free: 5.484 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008423/0.7711, allocations: 0.6225 MB / 1.196 GB, free: 4.793 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.7711, allocations: 0 / 1.196 GB, free: 4.793 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.7712, allocations: 23.98 kB / 1.196 GB, free: 4.77 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.7712, allocations: 4 kB / 1.196 GB, free: 4.766 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.7713, allocations: 128 / 1.196 GB, free: 4.766 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/0.7713, allocations: 11.94 kB / 1.196 GB, free: 4.754 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7713, allocations: 3.938 kB / 1.196 GB, free: 4.75 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.7716, allocations: 298.5 kB / 1.196 GB, free: 4.43 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.7718, allocations: 132.8 kB / 1.196 GB, free: 4.281 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.989e-05/0.7718, allocations: 12.06 kB / 1.196 GB, free: 4.27 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.7721, allocations: 15.92 kB / 1.196 GB, free: 4.254 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.7721, allocations: 11.98 kB / 1.196 GB, free: 4.242 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.7721, allocations: 4 kB / 1.196 GB, free: 4.238 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000408/0.7725, allocations: 323.1 kB / 1.197 GB, free: 3.926 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7725, allocations: 0 / 1.197 GB, free: 3.926 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004157/0.773, allocations: 111.8 kB / 1.197 GB, free: 3.816 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.001007/0.774, allocations: 0.9644 MB / 1.198 GB, free: 2.828 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002776/0.7743, allocations: 127.9 kB / 1.198 GB, free: 2.703 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.7743, allocations: 4 kB / 1.198 GB, free: 2.699 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.7744, allocations: 63.86 kB / 1.198 GB, free: 2.637 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009303/0.7753, allocations: 178.2 kB / 1.198 GB, free: 2.465 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004494/0.7798, allocations: 3.281 MB / 1.201 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.7803, allocations: 0.8035 MB / 1.202 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000222/0.7805, allocations: 69.34 kB / 1.202 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.7807, allocations: 123.4 kB / 1.202 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of SimCode: time 4.7e-07/0.7807, allocations: 0 / 1.202 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0373/0.818, allocations: 11.2 MB / 1.213 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.601/9.419, allocations: 13.5 kB / 1.213 GB, free: 3.141 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