Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008171/0.0008171, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008347/0.0008347, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8555/0.8555, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.604/1.604, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.054e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01084/0.01086, allocations: 14.28 MB / 0.9644 GB, free: 5.168 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004315/0.01517, allocations: 4.311 MB / 0.9687 GB, free: 0.8477 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004996/0.01567, allocations: 23.81 kB / 0.9687 GB, free: 0.8242 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006654/0.01634, allocations: 198.5 kB / 0.9689 GB, free: 0.6289 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.01751, allocations: 0.602 MB / 0.9695 GB, free: 24 kB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.01869, allocations: 0.6177 MB / 0.9701 GB, free: 15.41 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001008/0.0197, allocations: 0.9737 MB / 0.971 GB, free: 14.43 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003208/0.02002, allocations: 268.2 kB / 0.9713 GB, free: 14.16 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005725/0.02059, allocations: 0.5373 MB / 0.9718 GB, free: 13.62 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.02086, allocations: 267.2 kB / 0.972 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.0209, allocations: 24 kB / 0.9721 GB, free: 13.34 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003312/0.02123, allocations: 195.5 kB / 0.9723 GB, free: 13.14 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 7.853e-05/0.02131, allocations: 83.59 kB / 0.9723 GB, free: 13.06 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.02141, allocations: 139.6 kB / 0.9725 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.02191, allocations: 0.4984 MB / 0.973 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.02191, allocations: 0 / 0.973 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.393e-06/0.02191, allocations: 0 / 0.973 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.02192, allocations: 0 / 0.973 GB, free: 12.43 MB / 0.9323 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.0007762/0.0227, allocations: 0.6679 MB / 0.9736 GB, free: 11.72 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.02274, allocations: 12.03 kB / 0.9736 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.02278, allocations: 54.73 kB / 0.9737 GB, free: 11.65 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.573e-05/0.02285, allocations: 48.66 kB / 0.9737 GB, free: 11.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/0.0233, allocations: 350.3 kB / 0.9741 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.02332, allocations: 12.88 kB / 0.9741 GB, free: 11.22 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.02335, allocations: 32.38 kB / 0.9741 GB, free: 11.19 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.02359, allocations: 196 kB / 0.9743 GB, free: 10.99 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.0236, allocations: 0 / 0.9743 GB, free: 10.99 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.02362, allocations: 8 kB / 0.9743 GB, free: 10.98 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.02362, allocations: 7.984 kB / 0.9743 GB, free: 10.98 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.02378, allocations: 133.9 kB / 0.9744 GB, free: 10.84 MB / 0.9323 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.0008936/0.02467, allocations: 0.6861 MB / 0.9751 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.02496, allocations: 118.5 kB / 0.9752 GB, free: 9.988 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.708e-05/0.02502, allocations: 52.78 kB / 0.9753 GB, free: 9.934 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.02512, allocations: 27.97 kB / 0.9753 GB, free: 9.906 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.02514, allocations: 30.56 kB / 0.9753 GB, free: 9.867 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/0.02514, allocations: 4 kB / 0.9753 GB, free: 9.863 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12): time 0.0002639/0.0254, allocations: 177.3 kB / 0.9755 GB, free: 9.684 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.02543, allocations: 55.34 kB / 0.9755 GB, free: 9.617 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000404/0.02584, allocations: 449.9 kB / 0.976 GB, free: 9.172 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.02585, allocations: 25.7 kB / 0.976 GB, free: 9.141 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.02597, allocations: 224.4 kB / 0.9762 GB, free: 8.918 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.02599, allocations: 35.69 kB / 0.9762 GB, free: 8.883 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.02604, allocations: 53.66 kB / 0.9763 GB, free: 8.824 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.02613, allocations: 354.8 kB / 0.9766 GB, free: 8.469 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.131e-05/0.02619, allocations: 43.98 kB / 0.9767 GB, free: 8.426 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.02635, allocations: 263.3 kB / 0.9769 GB, free: 8.113 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.02649, allocations: 131.3 kB / 0.977 GB, free: 7.973 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.02649, allocations: 0 / 0.977 GB, free: 7.973 MB / 0.9323 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002262/0.02671, allocations: 225.2 kB / 0.9773 GB, free: 7.746 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.02673, allocations: 8 kB / 0.9773 GB, free: 7.738 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.02674, allocations: 4 kB / 0.9773 GB, free: 7.734 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.02675, allocations: 0 / 0.9773 GB, free: 7.734 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.02687, allocations: 47.97 kB / 0.9773 GB, free: 7.688 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.02687, allocations: 3.984 kB / 0.9773 GB, free: 7.684 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.02701, allocations: 39.72 kB / 0.9774 GB, free: 7.645 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.02704, allocations: 8.094 kB / 0.9774 GB, free: 7.637 MB / 0.9323 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.0001074/0.02714, allocations: 153.8 kB / 0.9775 GB, free: 7.477 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.02718, allocations: 51.64 kB / 0.9776 GB, free: 7.426 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.02743, allocations: 202.4 kB / 0.9778 GB, free: 7.227 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.02744, allocations: 7.984 kB / 0.9778 GB, free: 7.219 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.02745, allocations: 3.938 kB / 0.9778 GB, free: 7.215 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.02745, allocations: 0 / 0.9778 GB, free: 7.215 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.02795, allocations: 0.5709 MB / 0.9783 GB, free: 6.582 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.02795, allocations: 0 / 0.9783 GB, free: 6.582 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.898e-05/0.02801, allocations: 28.11 kB / 0.9784 GB, free: 6.555 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.02801, allocations: 4 kB / 0.9784 GB, free: 6.551 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.02802, allocations: 4 kB / 0.9784 GB, free: 6.547 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.02803, allocations: 8 kB / 0.9784 GB, free: 6.539 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.02803, allocations: 4 kB / 0.9784 GB, free: 6.535 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.02822, allocations: 302.5 kB / 0.9787 GB, free: 6.211 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.98e-05/0.02829, allocations: 51.69 kB / 0.9787 GB, free: 6.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.02832, allocations: 4 kB / 0.9787 GB, free: 6.156 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.02842, allocations: 15.92 kB / 0.9787 GB, free: 6.141 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.02844, allocations: 15.92 kB / 0.9787 GB, free: 6.125 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.02845, allocations: 8 kB / 0.9788 GB, free: 6.117 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002196/0.02867, allocations: 311.1 kB / 0.979 GB, free: 5.82 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.02867, allocations: 0 / 0.979 GB, free: 5.82 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003051/0.02898, allocations: 115.8 kB / 0.9792 GB, free: 5.707 MB / 0.9323 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.0005671/0.02954, allocations: 0.9223 MB / 0.9801 GB, free: 4.746 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.02974, allocations: 139.7 kB / 0.9802 GB, free: 4.609 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.02975, allocations: 8 kB / 0.9802 GB, free: 4.602 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 5.791e-05/0.02981, allocations: 51.92 kB / 0.9803 GB, free: 4.551 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.03037, allocations: 186.4 kB / 0.9804 GB, free: 4.371 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.03326, allocations: 3.256 MB / 0.9836 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.03338, allocations: 203.8 kB / 0.9838 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.03356, allocations: 66.17 kB / 0.9839 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.03368, allocations: 124.5 kB / 0.984 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of SimCode: time 1.252e-06/0.03368, allocations: 0 / 0.984 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.06069, allocations: 12.6 MB / 0.9963 GB, free: 4.371 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.911/6.972, allocations: 19.03 kB / 0.9963 GB, free: 4.355 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu > Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable y1 in file Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv. Warning: Get data of variable y1 from file Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv failed! Error: Could not read variable y2 in file Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv. Warning: Get data of variable y2 from file Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.85867896489799]