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.001304/0.001305, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 195.5 kB / 16.53 MB, free: 6.684 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.299/2.299, allocations: 437.1 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 59.91 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.4614, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01371/0.4752, allocations: 15.4 MB / 1.032 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005061/0.4803, allocations: 4.673 MB / 1.037 GB, free: 14.38 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003995/0.4807, allocations: 15.88 kB / 1.037 GB, free: 14.36 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004756/0.4812, allocations: 190.6 kB / 1.037 GB, free: 14.18 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.4823, allocations: 0.5746 MB / 1.038 GB, free: 13.6 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.4835, allocations: 0.5608 MB / 1.038 GB, free: 13.05 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0008693/0.4844, allocations: 0.9509 MB / 1.039 GB, free: 12.09 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003625/0.4847, allocations: 322 kB / 1.04 GB, free: 11.77 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004769/0.4852, allocations: 406.3 kB / 1.04 GB, free: 11.37 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.4855, allocations: 306.6 kB / 1.04 GB, free: 11.07 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.4856, allocations: 24 kB / 1.04 GB, free: 11.05 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003607/0.486, allocations: 219.6 kB / 1.04 GB, free: 10.83 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.365e-05/0.4861, allocations: 83.61 kB / 1.041 GB, free: 10.75 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.4862, allocations: 198.9 kB / 1.041 GB, free: 10.55 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004835/0.4867, allocations: 0.4983 MB / 1.041 GB, free: 10.05 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.4867, allocations: 7.938 kB / 1.041 GB, free: 10.05 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4867, allocations: 0 / 1.041 GB, free: 10.05 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.4867, allocations: 0 / 1.041 GB, free: 10.05 MB / 0.795 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.0009003/0.4876, allocations: 0.7318 MB / 1.042 GB, free: 9.262 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.4877, allocations: 8.031 kB / 1.042 GB, free: 9.254 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/0.4877, allocations: 66.67 kB / 1.042 GB, free: 9.18 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.639e-05/0.4878, allocations: 48.38 kB / 1.042 GB, free: 9.133 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.4883, allocations: 382.1 kB / 1.042 GB, free: 8.719 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.4883, allocations: 24.38 kB / 1.042 GB, free: 8.695 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.4883, allocations: 24 kB / 1.042 GB, free: 8.672 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.4886, allocations: 195.2 kB / 1.043 GB, free: 8.477 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.4886, allocations: 0 / 1.043 GB, free: 8.477 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.4886, allocations: 15.94 kB / 1.043 GB, free: 8.461 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/0.4887, allocations: 4 kB / 1.043 GB, free: 8.457 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.4889, allocations: 137.7 kB / 1.043 GB, free: 8.32 MB / 0.795 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.001193/0.4901, allocations: 0.8867 MB / 1.044 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.4905, allocations: 118.6 kB / 1.044 GB, free: 7.234 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.702e-05/0.4905, allocations: 48.84 kB / 1.044 GB, free: 7.184 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/0.4908, allocations: 336.4 kB / 1.044 GB, free: 6.781 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.4908, allocations: 34.5 kB / 1.044 GB, free: 6.738 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.4908, allocations: 0 / 1.044 GB, free: 6.738 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0002959/0.4911, allocations: 169.1 kB / 1.044 GB, free: 6.566 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.4911, allocations: 63.41 kB / 1.044 GB, free: 6.492 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004459/0.4916, allocations: 453.9 kB / 1.045 GB, free: 6.039 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.4916, allocations: 33.7 kB / 1.045 GB, free: 6 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.4917, allocations: 204.3 kB / 1.045 GB, free: 5.793 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.4918, allocations: 47.3 kB / 1.045 GB, free: 5.746 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.898e-05/0.4918, allocations: 53.7 kB / 1.045 GB, free: 5.688 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.492, allocations: 354.7 kB / 1.046 GB, free: 5.332 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.378e-05/0.492, allocations: 51.98 kB / 1.046 GB, free: 5.281 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.4922, allocations: 105 kB / 1.046 GB, free: 5.16 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.4924, allocations: 135.3 kB / 1.046 GB, free: 5.016 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4924, allocations: 4 kB / 1.046 GB, free: 5.012 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003046/0.4927, allocations: 213 kB / 1.046 GB, free: 4.797 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.4927, allocations: 12 kB / 1.046 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.4927, allocations: 0 / 1.046 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.4927, allocations: 0 / 1.046 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.4929, allocations: 43.92 kB / 1.046 GB, free: 4.742 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.4929, allocations: 0 / 1.046 GB, free: 4.742 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.4932, allocations: 43.66 kB / 1.046 GB, free: 4.699 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.4932, allocations: 4 kB / 1.046 GB, free: 4.695 MB / 0.795 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.0001173/0.4934, allocations: 157.7 kB / 1.046 GB, free: 4.531 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.241e-05/0.4934, allocations: 47.44 kB / 1.046 GB, free: 4.484 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.4937, allocations: 189.4 kB / 1.046 GB, free: 4.297 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4937, allocations: 0 / 1.046 GB, free: 4.297 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4937, allocations: 0 / 1.046 GB, free: 4.297 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4937, allocations: 96 / 1.046 GB, free: 4.297 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006209/0.4944, allocations: 0.634 MB / 1.047 GB, free: 3.594 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.4944, allocations: 3.984 kB / 1.047 GB, free: 3.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.4945, allocations: 23.98 kB / 1.047 GB, free: 3.566 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4945, allocations: 4 kB / 1.047 GB, free: 3.562 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.4945, allocations: 4 kB / 1.047 GB, free: 3.559 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4945, allocations: 7.938 kB / 1.047 GB, free: 3.551 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4945, allocations: 0 / 1.047 GB, free: 3.551 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.4948, allocations: 304.3 kB / 1.047 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.4949, allocations: 124.6 kB / 1.048 GB, free: 3.086 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.4949, allocations: 8.266 kB / 1.048 GB, free: 3.078 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.4952, allocations: 19.98 kB / 1.048 GB, free: 3.059 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.4952, allocations: 12 kB / 1.048 GB, free: 3.047 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.4952, allocations: 11.92 kB / 1.048 GB, free: 3.035 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003221/0.4955, allocations: 327 kB / 1.048 GB, free: 2.719 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4955, allocations: 0 / 1.048 GB, free: 2.719 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003561/0.4959, allocations: 107.8 kB / 1.048 GB, free: 2.613 MB / 0.795 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.0006907/0.4966, allocations: 0.9456 MB / 1.049 GB, free: 1.637 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.4968, allocations: 139.8 kB / 1.049 GB, free: 1.5 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4968, allocations: 0 / 1.049 GB, free: 1.5 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.455e-05/0.4969, allocations: 63.91 kB / 1.049 GB, free: 1.438 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008595/0.4978, allocations: 171.7 kB / 1.049 GB, free: 1.277 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/0.5013, allocations: 3.337 MB / 1.053 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.5016, allocations: 0.8074 MB / 1.053 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002117/0.5018, allocations: 66.38 kB / 1.053 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.502, allocations: 119.4 kB / 1.054 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.502, allocations: 0 / 1.054 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8951/1.397, allocations: 11.11 MB / 1.064 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.514/10.91, allocations: 4.953 kB / 1.064 GB, free: 2.004 MB / 0.8106 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