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.006524/0.006524, allocations: 105.1 kB / 15.73 MB, free: 6.043 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.001514/0.001514, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.456/2.456, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 71.88 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2564, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01712/0.2736, allocations: 15.4 MB / 1.181 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006732/0.2803, allocations: 4.662 MB / 1.186 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000608/0.281, allocations: 27.81 kB / 1.186 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007005/0.2817, allocations: 194.6 kB / 1.186 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.2834, allocations: 0.5907 MB / 1.187 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.2851, allocations: 0.5685 MB / 1.187 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001416/0.2866, allocations: 0.9664 MB / 1.188 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005742/0.2871, allocations: 326.7 kB / 1.188 GB, free: 460 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008478/0.288, allocations: 414.3 kB / 1.189 GB, free: 44 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005458/0.2886, allocations: 310.5 kB / 1.189 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.488e-05/0.2887, allocations: 24 kB / 1.189 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005737/0.2892, allocations: 215.6 kB / 1.189 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.2894, allocations: 87.61 kB / 1.189 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002673/0.2897, allocations: 198.8 kB / 1.19 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000819/0.2905, allocations: 0.5108 MB / 1.19 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2905, allocations: 0 / 1.19 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2905, allocations: 3.938 kB / 1.19 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.721e-05/0.2906, allocations: 0 / 1.19 GB, free: 14.71 MB / 0.9512 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.001241/0.2918, allocations: 0.7319 MB / 1.191 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2919, allocations: 12.02 kB / 1.191 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.2919, allocations: 58.67 kB / 1.191 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.292, allocations: 48.38 kB / 1.191 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007121/0.2928, allocations: 409.9 kB / 1.191 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.2928, allocations: 24.38 kB / 1.191 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.2928, allocations: 20 kB / 1.191 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.2932, allocations: 195.3 kB / 1.192 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2932, allocations: 0 / 1.192 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.2932, allocations: 4 kB / 1.192 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2932, allocations: 12 kB / 1.192 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.2935, allocations: 133.6 kB / 1.192 GB, free: 12.97 MB / 0.9512 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.001518/0.295, allocations: 0.8829 MB / 1.193 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.2955, allocations: 110.6 kB / 1.193 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.225e-05/0.2956, allocations: 52.83 kB / 1.193 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002636/0.2958, allocations: 336.4 kB / 1.193 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.2959, allocations: 30.56 kB / 1.193 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.823e-06/0.2959, allocations: 0 / 1.193 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0003853/0.2963, allocations: 192.9 kB / 1.193 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.2963, allocations: 51.41 kB / 1.193 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005446/0.2969, allocations: 453.9 kB / 1.194 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.2969, allocations: 29.7 kB / 1.194 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.2971, allocations: 212.2 kB / 1.194 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.2971, allocations: 47.38 kB / 1.194 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.429e-05/0.2972, allocations: 57.59 kB / 1.194 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2973, allocations: 350.7 kB / 1.194 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.846e-05/0.2974, allocations: 51.97 kB / 1.194 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.2976, allocations: 106.7 kB / 1.195 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.2978, allocations: 147.2 kB / 1.195 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2978, allocations: 0 / 1.195 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003798/0.2982, allocations: 213 kB / 1.195 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2982, allocations: 8 kB / 1.195 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.2982, allocations: 0 / 1.195 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.2983, allocations: 0 / 1.195 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.2985, allocations: 47.91 kB / 1.195 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2985, allocations: 4 kB / 1.195 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.2988, allocations: 35.73 kB / 1.195 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/0.2989, allocations: 15.98 kB / 1.195 GB, free: 9.328 MB / 0.9512 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.0001442/0.299, allocations: 145.8 kB / 1.195 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.578e-05/0.2991, allocations: 43.47 kB / 1.195 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/0.2994, allocations: 202.7 kB / 1.195 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.2995, allocations: 0 / 1.195 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2995, allocations: 4 kB / 1.195 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2995, allocations: 0 / 1.195 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007782/0.3003, allocations: 0.6263 MB / 1.196 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.3003, allocations: 0 / 1.196 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.3004, allocations: 23.94 kB / 1.196 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.3004, allocations: 4 kB / 1.196 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3004, allocations: 8.109 kB / 1.196 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3004, allocations: 8.219 kB / 1.196 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3005, allocations: 0 / 1.196 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.3008, allocations: 290.4 kB / 1.196 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.3009, allocations: 148.4 kB / 1.196 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.301, allocations: 4 kB / 1.196 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.3012, allocations: 15.92 kB / 1.196 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.3012, allocations: 7.984 kB / 1.196 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.3013, allocations: 12.06 kB / 1.196 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003783/0.3016, allocations: 327.1 kB / 1.197 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3016, allocations: 0 / 1.197 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004506/0.3021, allocations: 103.9 kB / 1.197 GB, free: 7.262 MB / 0.9512 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.0009282/0.303, allocations: 0.9476 MB / 1.198 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.3034, allocations: 135.8 kB / 1.198 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3034, allocations: 0 / 1.198 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.651e-05/0.3035, allocations: 63.86 kB / 1.198 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009057/0.3044, allocations: 180.6 kB / 1.198 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004338/0.3087, allocations: 3.259 MB / 1.201 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.3091, allocations: 0.8113 MB / 1.202 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002632/0.3094, allocations: 66.19 kB / 1.202 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.3096, allocations: 123.4 kB / 1.202 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of SimCode: time 2.214e-06/0.3096, allocations: 0 / 1.202 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/0.3424, allocations: 11.21 MB / 1.213 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.206/8.548, allocations: 11.58 kB / 1.213 GB, free: 6.621 MB / 0.9669 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat --tempDir=temp_Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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