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.001607/0.001607, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001892/0.001892, allocations: 219.8 kB / 22.26 MB, free: 5.125 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.984 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.884/2.884, allocations: 476.8 MB / 0.7707 GB, free: 4.23 MB / 0.6231 GB " [Timeout remaining time 176] 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="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: 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.002009/0.002009, allocations: 64.56 kB / 1.117 GB, free: 39.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.34, allocations: 170 MB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.02014/0.3602, allocations: 15.76 MB / 1.299 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007663/0.3678, allocations: 4.724 MB / 1.303 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009337/0.3688, allocations: 19.81 kB / 1.303 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008072/0.3696, allocations: 206.5 kB / 1.304 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.3714, allocations: 0.6025 MB / 1.304 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.3732, allocations: 0.5833 MB / 1.305 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001692/0.3749, allocations: 0.9752 MB / 1.306 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006308/0.3755, allocations: 264.3 kB / 1.306 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.3765, allocations: 438.3 kB / 1.306 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006476/0.3772, allocations: 318.6 kB / 1.307 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.746e-05/0.3773, allocations: 24 kB / 1.307 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000611/0.3779, allocations: 227.6 kB / 1.307 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.378, allocations: 95.53 kB / 1.307 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002838/0.3783, allocations: 198.8 kB / 1.307 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008932/0.3792, allocations: 0.5137 MB / 1.308 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3792, allocations: 0 / 1.308 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3792, allocations: 0 / 1.308 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.875e-05/0.3792, allocations: 0 / 1.308 GB, free: 2.605 MB / 0.9981 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.0013/0.3805, allocations: 0.6718 MB / 1.308 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3806, allocations: 8.031 kB / 1.308 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.931e-05/0.3806, allocations: 58.67 kB / 1.308 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.3807, allocations: 52.61 kB / 1.308 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000898/0.3816, allocations: 347.2 kB / 1.309 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.3817, allocations: 24.38 kB / 1.309 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.3817, allocations: 24 kB / 1.309 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003831/0.3821, allocations: 191.3 kB / 1.309 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3821, allocations: 4 kB / 1.309 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.3821, allocations: 4 kB / 1.309 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.3822, allocations: 8 kB / 1.309 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/0.3824, allocations: 133.6 kB / 1.309 GB, free: 1.031 MB / 0.9981 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.001719/0.3841, allocations: 0.8523 MB / 1.31 GB, free: 112 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005176/0.3846, allocations: 110.7 kB / 1.31 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.593e-05/0.3847, allocations: 44.78 kB / 1.31 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/0.3849, allocations: 31.98 kB / 1.31 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.3849, allocations: 30.56 kB / 1.31 GB, free: 15.88 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.3849, allocations: 0 / 1.31 GB, free: 15.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.0004238/0.3853, allocations: 181.2 kB / 1.31 GB, free: 15.69 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.3854, allocations: 55.41 kB / 1.31 GB, free: 15.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005801/0.386, allocations: 465.8 kB / 1.311 GB, free: 15.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.386, allocations: 33.7 kB / 1.311 GB, free: 15.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.3862, allocations: 208.4 kB / 1.311 GB, free: 14.91 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.3862, allocations: 47.58 kB / 1.311 GB, free: 14.87 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.51e-05/0.3863, allocations: 57.69 kB / 1.311 GB, free: 14.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3865, allocations: 350.7 kB / 1.312 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.3866, allocations: 51.97 kB / 1.312 GB, free: 14.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.3867, allocations: 111.6 kB / 1.312 GB, free: 14.28 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.3869, allocations: 131.3 kB / 1.312 GB, free: 14.14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3869, allocations: 4 kB / 1.312 GB, free: 14.13 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003671/0.3873, allocations: 217.3 kB / 1.312 GB, free: 13.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3873, allocations: 8.094 kB / 1.312 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3873, allocations: 3.938 kB / 1.312 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3873, allocations: 0 / 1.312 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.3876, allocations: 51.91 kB / 1.312 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3876, allocations: 4 kB / 1.312 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.3879, allocations: 35.89 kB / 1.312 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.3879, allocations: 7.984 kB / 1.312 GB, free: 13.8 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.0001804/0.3881, allocations: 154.3 kB / 1.312 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.449e-05/0.3881, allocations: 43.72 kB / 1.312 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000347/0.3885, allocations: 197.9 kB / 1.313 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.3885, allocations: 4.094 kB / 1.313 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3885, allocations: 0 / 1.313 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3885, allocations: 3.984 kB / 1.313 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008201/0.3893, allocations: 0.602 MB / 1.313 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3893, allocations: 4.125 kB / 1.313 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.3895, allocations: 27.92 kB / 1.313 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.3895, allocations: 4 kB / 1.313 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.3895, allocations: 4 kB / 1.313 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.3895, allocations: 7.938 kB / 1.313 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3895, allocations: 0 / 1.313 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.3898, allocations: 305.8 kB / 1.313 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.3899, allocations: 55.67 kB / 1.314 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.39, allocations: 4 kB / 1.314 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.3902, allocations: 15.92 kB / 1.314 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.3902, allocations: 7.984 kB / 1.314 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.3903, allocations: 11.98 kB / 1.314 GB, free: 12.27 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004034/0.3907, allocations: 327.1 kB / 1.314 GB, free: 11.95 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3907, allocations: 0 / 1.314 GB, free: 11.95 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00044/0.3911, allocations: 103.8 kB / 1.314 GB, free: 11.85 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.0009195/0.392, allocations: 0.9308 MB / 1.315 GB, free: 10.88 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003103/0.3923, allocations: 131.8 kB / 1.315 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3923, allocations: 0 / 1.315 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.3924, allocations: 60.5 kB / 1.315 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009291/0.3934, allocations: 186.7 kB / 1.315 GB, free: 10.52 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/0.3984, allocations: 3.282 MB / 1.318 GB, free: 7.105 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.3988, allocations: 0.8112 MB / 1.319 GB, free: 6.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002642/0.3991, allocations: 70.11 kB / 1.319 GB, free: 6.199 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.3993, allocations: 123.3 kB / 1.319 GB, free: 6.078 MB / 1.014 GB Notification: Performance of SimCode: time 7.32e-07/0.3993, allocations: 0 / 1.319 GB, free: 6.078 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04551/0.4448, allocations: 11.33 MB / 1.33 GB, free: 11.03 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.81, allocations: 6.875 kB / 1.33 GB, free: 11.03 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.700476604979485]