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.001928/0.001928, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 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.002334/0.002334, allocations: 210.2 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.489/1.489, allocations: 230.6 MB / 253.5 MB, free: 15.13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.791/2.791, allocations: 476.7 MB / 0.7678 GB, free: 9.492 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.91 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9787/0.9807, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.02121/1.002, allocations: 15.62 MB / 1.294 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008553/1.01, allocations: 4.692 MB / 1.299 GB, free: 13.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008882/1.011, allocations: 23.81 kB / 1.299 GB, free: 13.23 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007766/1.012, allocations: 196.2 kB / 1.299 GB, free: 13.11 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001948/1.014, allocations: 0.5983 MB / 1.3 GB, free: 12.76 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002128/1.016, allocations: 0.5694 MB / 1.3 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001602/1.018, allocations: 0.9585 MB / 1.301 GB, free: 12.05 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005097/1.018, allocations: 283.3 kB / 1.301 GB, free: 11.92 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008926/1.019, allocations: 428.8 kB / 1.302 GB, free: 11.73 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004719/1.02, allocations: 317.4 kB / 1.302 GB, free: 11.6 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.291e-05/1.02, allocations: 24.34 kB / 1.302 GB, free: 11.6 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006164/1.02, allocations: 219.7 kB / 1.302 GB, free: 11.53 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001313/1.02, allocations: 89.36 kB / 1.302 GB, free: 11.47 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002406/1.021, allocations: 205.7 kB / 1.303 GB, free: 11.35 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008851/1.022, allocations: 0.5098 MB / 1.303 GB, free: 11.15 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.022, allocations: 5.125 kB / 1.303 GB, free: 11.15 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.373e-06/1.022, allocations: 0 / 1.303 GB, free: 11.15 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.656e-06/1.022, allocations: 0 / 1.303 GB, free: 11.15 MB / 1.014 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.001385/1.023, allocations: 0.7501 MB / 1.304 GB, free: 10.54 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/1.023, allocations: 10.42 kB / 1.304 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.831e-05/1.023, allocations: 6.625 kB / 1.304 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.109e-05/1.023, allocations: 54.86 kB / 1.304 GB, free: 10.49 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/1.023, allocations: 56.45 kB / 1.304 GB, free: 10.46 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007809/1.024, allocations: 420.1 kB / 1.304 GB, free: 10.15 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/1.024, allocations: 19.67 kB / 1.304 GB, free: 10.14 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/1.024, allocations: 28.16 kB / 1.304 GB, free: 10.13 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/1.025, allocations: 191.1 kB / 1.305 GB, free: 10.05 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/1.025, allocations: 5.656 kB / 1.305 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/1.025, allocations: 5.219 kB / 1.305 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/1.025, allocations: 5.688 kB / 1.305 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/1.025, allocations: 131.2 kB / 1.305 GB, free: 10 MB / 1.014 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.001671/1.027, allocations: 0.8791 MB / 1.306 GB, free: 9.395 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005059/1.027, allocations: 110.7 kB / 1.306 GB, free: 9.348 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.827e-05/1.027, allocations: 44.34 kB / 1.306 GB, free: 9.328 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003476/1.027, allocations: 334.5 kB / 1.306 GB, free: 8.949 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/1.027, allocations: 43.19 kB / 1.306 GB, free: 8.898 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/1.027, allocations: 1.438 kB / 1.306 GB, free: 8.898 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.0004709/1.028, allocations: 170.2 kB / 1.306 GB, free: 8.816 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/1.028, allocations: 57.59 kB / 1.306 GB, free: 8.75 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006437/1.029, allocations: 463.6 kB / 1.307 GB, free: 8.535 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/1.029, allocations: 27.58 kB / 1.307 GB, free: 8.504 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/1.029, allocations: 213 kB / 1.307 GB, free: 8.328 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/1.029, allocations: 44.36 kB / 1.307 GB, free: 8.293 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/1.029, allocations: 57.83 kB / 1.307 GB, free: 8.258 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002095/1.029, allocations: 356.4 kB / 1.307 GB, free: 7.922 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/1.029, allocations: 50.12 kB / 1.307 GB, free: 7.906 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/1.03, allocations: 114 kB / 1.308 GB, free: 7.828 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/1.03, allocations: 134.6 kB / 1.308 GB, free: 7.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.03, allocations: 0 / 1.308 GB, free: 7.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003984/1.03, allocations: 223.6 kB / 1.308 GB, free: 7.641 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/1.03, allocations: 6.375 kB / 1.308 GB, free: 7.641 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/1.03, allocations: 6.062 kB / 1.308 GB, free: 7.637 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/1.03, allocations: 1.375 kB / 1.308 GB, free: 7.637 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/1.03, allocations: 49.06 kB / 1.308 GB, free: 7.629 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/1.03, allocations: 2.203 kB / 1.308 GB, free: 7.629 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/1.031, allocations: 36.66 kB / 1.308 GB, free: 7.609 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/1.031, allocations: 9.109 kB / 1.308 GB, free: 7.609 MB / 1.014 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.0001857/1.031, allocations: 160.5 kB / 1.308 GB, free: 7.465 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.657e-05/1.031, allocations: 47.41 kB / 1.308 GB, free: 7.438 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/1.031, allocations: 185.4 kB / 1.308 GB, free: 7.348 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/1.031, allocations: 1.344 kB / 1.308 GB, free: 7.348 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.031, allocations: 1.688 kB / 1.308 GB, free: 7.348 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.031, allocations: 0.6562 kB / 1.308 GB, free: 7.348 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009742/1.032, allocations: 0.6333 MB / 1.309 GB, free: 6.883 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.032, allocations: 1.188 kB / 1.309 GB, free: 6.883 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/1.033, allocations: 22.88 kB / 1.309 GB, free: 6.883 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/1.033, allocations: 1.531 kB / 1.309 GB, free: 6.883 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/1.033, allocations: 11.2 kB / 1.309 GB, free: 6.875 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.375e-06/1.033, allocations: 7.203 kB / 1.309 GB, free: 6.871 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.033, allocations: 4.969 kB / 1.309 GB, free: 6.867 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/1.033, allocations: 303.1 kB / 1.309 GB, free: 6.633 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/1.033, allocations: 129.8 kB / 1.309 GB, free: 6.512 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/1.033, allocations: 6.891 kB / 1.309 GB, free: 6.508 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/1.033, allocations: 14.8 kB / 1.309 GB, free: 6.504 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/1.033, allocations: 15.94 kB / 1.309 GB, free: 6.496 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/1.033, allocations: 6.125 kB / 1.309 GB, free: 6.496 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004941/1.034, allocations: 324.3 kB / 1.31 GB, free: 6.344 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/1.034, allocations: 0 / 1.31 GB, free: 6.344 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005142/1.034, allocations: 108.5 kB / 1.31 GB, free: 6.32 MB / 1.014 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.001039/1.035, allocations: 0.9303 MB / 1.311 GB, free: 5.531 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003238/1.036, allocations: 124.5 kB / 1.311 GB, free: 5.496 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.036, allocations: 5.25 kB / 1.311 GB, free: 5.492 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/1.036, allocations: 58.06 kB / 1.311 GB, free: 5.473 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/1.037, allocations: 175.3 kB / 1.311 GB, free: 5.418 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005316/1.042, allocations: 3.282 MB / 1.314 GB, free: 3.402 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/1.043, allocations: 0.8116 MB / 1.315 GB, free: 2.691 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003608/1.043, allocations: 69.75 kB / 1.315 GB, free: 2.668 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/1.043, allocations: 125.8 kB / 1.315 GB, free: 2.578 MB / 1.014 GB Notification: Performance of SimCode: time 7.11e-07/1.043, allocations: 0 / 1.315 GB, free: 2.578 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03673/1.08, allocations: 11.18 MB / 1.326 GB, free: 15.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.221/10.3, allocations: 10.28 kB / 1.326 GB, free: 15.02 MB / 1.029 GB " [Timeout remaining time 290] (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/jenkins1/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: 16.543027363019064]