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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 108 kB / 15.6 MB, free: 132 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.001664/0.001664, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.638/2.638, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 69.45 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2351, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01527/0.2504, allocations: 15.4 MB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00537/0.2558, allocations: 4.67 MB / 1.084 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002025/0.256, allocations: 15.88 kB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004308/0.2565, allocations: 186.6 kB / 1.084 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0009798/0.2575, allocations: 0.5682 MB / 1.084 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.2586, allocations: 0.5686 MB / 1.085 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0009441/0.2595, allocations: 0.9587 MB / 1.086 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003838/0.2599, allocations: 316.1 kB / 1.086 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005205/0.2605, allocations: 406.3 kB / 1.087 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003442/0.2608, allocations: 302.6 kB / 1.087 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.872e-05/0.2609, allocations: 24 kB / 1.087 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003733/0.2613, allocations: 223.6 kB / 1.087 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.432e-05/0.2614, allocations: 79.62 kB / 1.087 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.2616, allocations: 210.8 kB / 1.087 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.2621, allocations: 498.3 kB / 1.088 GB, free: 5.715 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.2621, allocations: 0 / 1.088 GB, free: 5.715 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.01e-07/0.2621, allocations: 4 kB / 1.088 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.739e-06/0.2621, allocations: 0 / 1.088 GB, free: 5.711 MB / 0.8419 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.001007/0.2631, allocations: 0.7357 MB / 1.089 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.2632, allocations: 12.02 kB / 1.089 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.266e-05/0.2632, allocations: 54.73 kB / 1.089 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.992e-05/0.2633, allocations: 52.38 kB / 1.089 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004932/0.2638, allocations: 386 kB / 1.089 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.2639, allocations: 28.36 kB / 1.089 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.2639, allocations: 27.94 kB / 1.089 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.2642, allocations: 191.3 kB / 1.089 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.2642, allocations: 0 / 1.089 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.2642, allocations: 12 kB / 1.089 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2642, allocations: 4 kB / 1.089 GB, free: 4.121 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002138/0.2645, allocations: 133.7 kB / 1.089 GB, free: 3.992 MB / 0.8419 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.001306/0.2658, allocations: 0.879 MB / 1.09 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/0.2662, allocations: 122.6 kB / 1.09 GB, free: 2.906 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.287e-05/0.2663, allocations: 48.83 kB / 1.091 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002677/0.2666, allocations: 340.4 kB / 1.091 GB, free: 2.449 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.2666, allocations: 34.56 kB / 1.091 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.133e-06/0.2666, allocations: 0 / 1.091 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0003231/0.2669, allocations: 169.1 kB / 1.091 GB, free: 2.234 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.267, allocations: 59.41 kB / 1.091 GB, free: 2.164 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/0.2675, allocations: 457.8 kB / 1.092 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.2675, allocations: 29.7 kB / 1.092 GB, free: 1.668 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.2677, allocations: 212.2 kB / 1.092 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.2677, allocations: 43.39 kB / 1.092 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-05/0.2678, allocations: 57.61 kB / 1.092 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2679, allocations: 354.7 kB / 1.092 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.116e-05/0.268, allocations: 51.97 kB / 1.092 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.2682, allocations: 105.1 kB / 1.092 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.2684, allocations: 127.3 kB / 1.092 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2684, allocations: 4 kB / 1.092 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003278/0.2687, allocations: 217 kB / 1.093 GB, free: 476 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.2687, allocations: 4 kB / 1.093 GB, free: 472 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2687, allocations: 8 kB / 1.093 GB, free: 464 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.2687, allocations: 0 / 1.093 GB, free: 464 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.2689, allocations: 43.92 kB / 1.093 GB, free: 420 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.269, allocations: 192 / 1.093 GB, free: 420 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.2692, allocations: 43.66 kB / 1.093 GB, free: 376 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.2693, allocations: 7.938 kB / 1.093 GB, free: 368 kB / 0.8419 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.0001348/0.2694, allocations: 158.6 kB / 1.093 GB, free: 200 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-05/0.2695, allocations: 39.53 kB / 1.093 GB, free: 160 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.2698, allocations: 199.2 kB / 1.093 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.2698, allocations: 3.984 kB / 1.093 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2698, allocations: 3.938 kB / 1.093 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2698, allocations: 3.938 kB / 1.093 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007134/0.2705, allocations: 0.6302 MB / 1.094 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2705, allocations: 0 / 1.094 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.591e-05/0.2706, allocations: 23.98 kB / 1.094 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.2707, allocations: 4 kB / 1.094 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.2707, allocations: 4 kB / 1.094 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.2707, allocations: 7.938 kB / 1.094 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.2707, allocations: 3.938 kB / 1.094 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.271, allocations: 291.7 kB / 1.094 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.2711, allocations: 132.5 kB / 1.094 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/0.2712, allocations: 4.094 kB / 1.094 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.2714, allocations: 15.92 kB / 1.094 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.2714, allocations: 23.91 kB / 1.094 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.2714, allocations: 4.062 kB / 1.094 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003706/0.2718, allocations: 323.1 kB / 1.095 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.2718, allocations: 0 / 1.095 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000358/0.2722, allocations: 99.98 kB / 1.095 GB, free: 14.29 MB / 0.8575 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.0008238/0.273, allocations: 0.9513 MB / 1.096 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002598/0.2733, allocations: 148 kB / 1.096 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2733, allocations: 0 / 1.096 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.76e-05/0.2734, allocations: 55.92 kB / 1.096 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008777/0.2743, allocations: 188.2 kB / 1.096 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/0.2782, allocations: 3.304 MB / 1.099 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.2786, allocations: 0.8152 MB / 1.1 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001967/0.2788, allocations: 63 kB / 1.1 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.2789, allocations: 131.4 kB / 1.1 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2789, allocations: 0 / 1.1 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8068/1.086, allocations: 11 MB / 1.111 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/13.29, allocations: 8.125 kB / 1.111 GB, free: 13.74 MB / 0.8731 GB (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 --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) 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) Reference file matches