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.001146/0.001146, 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.001291/0.001291, 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.8832/0.8832, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.622/1.622, allocations: 359 MB / 0.6037 GB, free: 11.07 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.773e-06/1.773e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.407e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.0114/0.01143, allocations: 14.29 MB / 0.9645 GB, free: 5.129 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00528/0.01671, allocations: 4.313 MB / 0.9687 GB, free: 0.8047 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004386/0.01715, allocations: 23.75 kB / 0.9687 GB, free: 0.7812 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005879/0.01774, allocations: 190.6 kB / 0.9689 GB, free: 0.5938 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.01883, allocations: 0.6175 MB / 0.9695 GB, free: 15.97 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.01995, allocations: 0.6065 MB / 0.9701 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0008581/0.02081, allocations: 0.9699 MB / 0.971 GB, free: 14.4 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00032/0.02113, allocations: 268.2 kB / 0.9713 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005668/0.0217, allocations: 0.5335 MB / 0.9718 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.02195, allocations: 263.1 kB / 0.972 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.02198, allocations: 24 kB / 0.9721 GB, free: 13.31 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.02228, allocations: 187.5 kB / 0.9722 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 8.322e-05/0.02236, allocations: 95.53 kB / 0.9723 GB, free: 13.03 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.02246, allocations: 135.6 kB / 0.9725 GB, free: 12.9 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.02297, allocations: 0.5138 MB / 0.973 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.02297, allocations: 0 / 0.973 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.563e-06/0.02297, allocations: 0 / 0.973 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.02298, allocations: 0 / 0.973 GB, free: 12.38 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.000848/0.02383, allocations: 0.6523 MB / 0.9736 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.02388, allocations: 16.03 kB / 0.9736 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/0.02393, allocations: 54.73 kB / 0.9737 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.0241, allocations: 52.61 kB / 0.9737 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/0.02463, allocations: 342.4 kB / 0.974 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.02465, allocations: 32.84 kB / 0.9741 GB, free: 11.17 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.02468, allocations: 24.38 kB / 0.9741 GB, free: 11.15 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.02493, allocations: 200 kB / 0.9743 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.02494, allocations: 0 / 0.9743 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.02496, allocations: 8 kB / 0.9743 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.02497, allocations: 4 kB / 0.9743 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.02513, allocations: 133.9 kB / 0.9744 GB, free: 10.8 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.0009103/0.02604, allocations: 0.6861 MB / 0.9751 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.02634, allocations: 110.6 kB / 0.9752 GB, free: 9.957 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.054e-05/0.0264, allocations: 48.77 kB / 0.9752 GB, free: 9.906 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.02651, allocations: 31.92 kB / 0.9753 GB, free: 9.875 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.02652, allocations: 34.56 kB / 0.9753 GB, free: 9.832 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=12): time 1.764e-06/0.02652, allocations: 0 / 0.9753 GB, free: 9.832 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12): time 0.0002764/0.0268, allocations: 173.3 kB / 0.9755 GB, free: 9.656 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.02684, allocations: 59.39 kB / 0.9755 GB, free: 9.586 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.02718, allocations: 445.9 kB / 0.976 GB, free: 9.145 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.0272, allocations: 29.7 kB / 0.976 GB, free: 9.109 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.02732, allocations: 220.4 kB / 0.9762 GB, free: 8.891 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.02734, allocations: 39.7 kB / 0.9762 GB, free: 8.852 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.116e-05/0.0274, allocations: 57.64 kB / 0.9763 GB, free: 8.789 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.02751, allocations: 346.8 kB / 0.9766 GB, free: 8.441 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.677e-05/0.02758, allocations: 51.97 kB / 0.9767 GB, free: 8.391 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.02773, allocations: 265.9 kB / 0.9769 GB, free: 8.078 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.02787, allocations: 131.3 kB / 0.9771 GB, free: 7.938 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.02787, allocations: 0 / 0.9771 GB, free: 7.938 MB / 0.9323 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002363/0.02811, allocations: 229.2 kB / 0.9773 GB, free: 7.707 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.02813, allocations: 10.64 kB / 0.9773 GB, free: 7.699 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.02814, allocations: 0 / 0.9773 GB, free: 7.699 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.02815, allocations: 8 kB / 0.9773 GB, free: 7.691 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.02827, allocations: 43.92 kB / 0.9773 GB, free: 7.648 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.02828, allocations: 3.984 kB / 0.9773 GB, free: 7.645 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.02843, allocations: 35.77 kB / 0.9774 GB, free: 7.609 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.02845, allocations: 11.98 kB / 0.9774 GB, free: 7.598 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.0001146/0.02857, allocations: 153.8 kB / 0.9775 GB, free: 7.438 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.02861, allocations: 43.66 kB / 0.9776 GB, free: 7.395 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.02886, allocations: 200.9 kB / 0.9778 GB, free: 7.191 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.02887, allocations: 0 / 0.9778 GB, free: 7.191 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.02888, allocations: 3.938 kB / 0.9778 GB, free: 7.188 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.02888, allocations: 4 kB / 0.9778 GB, free: 7.184 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005274/0.02941, allocations: 0.5791 MB / 0.9783 GB, free: 6.543 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.02941, allocations: 0 / 0.9783 GB, free: 6.543 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/0.02947, allocations: 23.98 kB / 0.9784 GB, free: 6.52 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.02947, allocations: 0 / 0.9784 GB, free: 6.52 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.02948, allocations: 8.125 kB / 0.9784 GB, free: 6.512 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.02949, allocations: 4.062 kB / 0.9784 GB, free: 6.508 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.02949, allocations: 4 kB / 0.9784 GB, free: 6.504 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.02969, allocations: 309.1 kB / 0.9787 GB, free: 6.176 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.946e-05/0.02976, allocations: 55.62 kB / 0.9787 GB, free: 6.121 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.02978, allocations: 4 kB / 0.9787 GB, free: 6.117 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.02989, allocations: 11.98 kB / 0.9787 GB, free: 6.105 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.02991, allocations: 15.92 kB / 0.9787 GB, free: 6.09 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.02992, allocations: 4 kB / 0.9788 GB, free: 6.086 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002245/0.03014, allocations: 327 kB / 0.9791 GB, free: 5.773 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.03014, allocations: 0 / 0.9791 GB, free: 5.773 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00031/0.03045, allocations: 103.8 kB / 0.9792 GB, free: 5.672 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.0006123/0.03107, allocations: 0.9373 MB / 0.9801 GB, free: 4.699 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.03128, allocations: 127.8 kB / 0.9802 GB, free: 4.574 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.03128, allocations: 0 / 0.9802 GB, free: 4.574 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 6.751e-05/0.03135, allocations: 63.91 kB / 0.9803 GB, free: 4.512 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005741/0.03193, allocations: 176.4 kB / 0.9804 GB, free: 4.34 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.03483, allocations: 3.26 MB / 0.9836 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.03496, allocations: 207.8 kB / 0.9838 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001926/0.03515, allocations: 65.92 kB / 0.9839 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.03528, allocations: 124.5 kB / 0.984 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of SimCode: time 5.61e-07/0.03528, allocations: 0 / 0.984 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.06093, allocations: 12.59 MB / 0.9963 GB, free: 4.34 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.643/6.704, allocations: 19.86 kB / 0.9963 GB, free: 4.32 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.59160004556179]