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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008661/0.000866, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00503/0.00503, allocations: 169.2 kB / 16.26 MB, free: 6.648 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.188/1.188, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.238/2.238, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003377, allocations: 11.98 kB / 0.873 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4938/0.4942, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01329/0.5075, allocations: 14.83 MB / 1.038 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004934/0.5125, allocations: 4.629 MB / 1.042 GB, free: 12.33 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.5127, allocations: 15.88 kB / 1.042 GB, free: 12.31 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.5131, allocations: 155.1 kB / 1.042 GB, free: 12.16 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0009019/0.514, allocations: 0.517 MB / 1.043 GB, free: 11.64 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.515, allocations: 0.5143 MB / 1.043 GB, free: 11.13 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001054/0.5161, allocations: 1.243 MB / 1.045 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.5164, allocations: 277.7 kB / 1.045 GB, free: 9.609 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/0.5169, allocations: 366.3 kB / 1.045 GB, free: 9.25 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.5172, allocations: 306.5 kB / 1.045 GB, free: 8.949 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.414e-05/0.5172, allocations: 12 kB / 1.045 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003171/0.5176, allocations: 191.6 kB / 1.046 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.832e-05/0.5177, allocations: 71.69 kB / 1.046 GB, free: 8.68 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.5178, allocations: 216.5 kB / 1.046 GB, free: 8.461 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.5183, allocations: 498.2 kB / 1.046 GB, free: 7.973 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.5183, allocations: 0 / 1.046 GB, free: 7.973 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5183, allocations: 3.938 kB / 1.046 GB, free: 7.969 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.5183, allocations: 0 / 1.046 GB, free: 7.969 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.0008507/0.5192, allocations: 0.6581 MB / 1.047 GB, free: 7.258 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.5192, allocations: 12.03 kB / 1.047 GB, free: 7.246 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.787e-05/0.5193, allocations: 50.73 kB / 1.047 GB, free: 7.188 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.412e-05/0.5193, allocations: 48.38 kB / 1.047 GB, free: 7.141 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.5198, allocations: 405.8 kB / 1.048 GB, free: 6.703 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.5198, allocations: 12.44 kB / 1.048 GB, free: 6.691 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.5199, allocations: 32 kB / 1.048 GB, free: 6.66 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.5202, allocations: 195.2 kB / 1.048 GB, free: 6.465 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.5202, allocations: 3.938 kB / 1.048 GB, free: 6.461 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.5202, allocations: 8 kB / 1.048 GB, free: 6.453 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.5202, allocations: 7.938 kB / 1.048 GB, free: 6.445 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.5204, allocations: 133.7 kB / 1.048 GB, free: 6.316 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.001188/0.5216, allocations: 0.8829 MB / 1.049 GB, free: 5.359 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003884/0.522, allocations: 106.6 kB / 1.049 GB, free: 5.246 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.17e-05/0.5221, allocations: 52.83 kB / 1.049 GB, free: 5.191 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/0.5223, allocations: 344.3 kB / 1.049 GB, free: 4.781 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.5223, allocations: 38.55 kB / 1.049 GB, free: 4.734 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.5224, allocations: 4 kB / 1.049 GB, free: 4.73 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0002943/0.5227, allocations: 173.1 kB / 1.049 GB, free: 4.555 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.5227, allocations: 51.41 kB / 1.05 GB, free: 4.492 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004704/0.5232, allocations: 465.8 kB / 1.05 GB, free: 4.027 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.5232, allocations: 29.7 kB / 1.05 GB, free: 3.992 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.5233, allocations: 212.3 kB / 1.05 GB, free: 3.777 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.5234, allocations: 43.39 kB / 1.05 GB, free: 3.734 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.5234, allocations: 21.72 kB / 1.05 GB, free: 3.707 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.5235, allocations: 358.7 kB / 1.051 GB, free: 3.348 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.444e-05/0.5236, allocations: 43.98 kB / 1.051 GB, free: 3.305 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.5237, allocations: 110.7 kB / 1.051 GB, free: 3.18 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.5239, allocations: 131.3 kB / 1.051 GB, free: 3.039 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5239, allocations: 0 / 1.051 GB, free: 3.039 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003007/0.5242, allocations: 225 kB / 1.051 GB, free: 2.812 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.5243, allocations: 4 kB / 1.051 GB, free: 2.809 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.5243, allocations: 0 / 1.051 GB, free: 2.809 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.5243, allocations: 4.094 kB / 1.051 GB, free: 2.805 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.5245, allocations: 43.91 kB / 1.051 GB, free: 2.762 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.5245, allocations: 4 kB / 1.051 GB, free: 2.758 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.5248, allocations: 47.66 kB / 1.051 GB, free: 2.711 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.5248, allocations: 12 kB / 1.051 GB, free: 2.699 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.000127/0.5249, allocations: 157.7 kB / 1.051 GB, free: 2.535 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.525, allocations: 43.42 kB / 1.051 GB, free: 2.492 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.5253, allocations: 189.2 kB / 1.052 GB, free: 2.305 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.5253, allocations: 4 kB / 1.052 GB, free: 2.301 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.5253, allocations: 0 / 1.052 GB, free: 2.301 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5253, allocations: 0 / 1.052 GB, free: 2.301 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006389/0.526, allocations: 0.6341 MB / 1.052 GB, free: 1.598 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.526, allocations: 0 / 1.052 GB, free: 1.598 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.666e-05/0.5261, allocations: 27.98 kB / 1.052 GB, free: 1.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.5261, allocations: 0 / 1.052 GB, free: 1.57 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.5261, allocations: 4 kB / 1.052 GB, free: 1.566 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.5261, allocations: 3.938 kB / 1.052 GB, free: 1.562 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5261, allocations: 7.984 kB / 1.052 GB, free: 1.555 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.5264, allocations: 301 kB / 1.053 GB, free: 1.234 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.5265, allocations: 136.6 kB / 1.053 GB, free: 1.082 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.5266, allocations: 4 kB / 1.053 GB, free: 1.078 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.5268, allocations: 23.91 kB / 1.053 GB, free: 1.055 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.5268, allocations: 15.98 kB / 1.053 GB, free: 1.039 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.5268, allocations: 7.938 kB / 1.053 GB, free: 1.031 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003412/0.5272, allocations: 331.1 kB / 1.053 GB, free: 0.707 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5272, allocations: 0 / 1.053 GB, free: 0.707 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003523/0.5275, allocations: 100.1 kB / 1.053 GB, free: 0.6094 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.0007194/0.5283, allocations: 0.961 MB / 1.054 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.5285, allocations: 123.9 kB / 1.054 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5285, allocations: 0 / 1.054 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.061e-05/0.5286, allocations: 63.84 kB / 1.054 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.5298, allocations: 210.6 kB / 1.054 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/0.5335, allocations: 3.46 MB / 1.058 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.5338, allocations: 0.8077 MB / 1.059 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002009/0.5341, allocations: 69.47 kB / 1.059 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.5342, allocations: 123.4 kB / 1.059 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.5342, allocations: 0 / 1.059 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.372/2.907, allocations: 10.8 MB / 1.069 GB, free: 176 kB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003332/2.907, allocations: 296 kB / 1.07 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/4.676, allocations: 0 / 1.07 GB, free: 15.79 MB / 0.8262 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