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: translateModel(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00204/0.00204, allocations: 195.1 kB / 16.14 MB, free: 6.711 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.578/1.578, allocations: 222.9 MB / 239.8 MB, free: 4.527 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.757/2.757, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 67.88 kB / 0.8686 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7875/0.7898, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01738/0.8072, allocations: 15.36 MB / 1.032 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00679/0.8141, allocations: 4.686 MB / 1.036 GB, free: 14.66 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006184/0.8147, allocations: 11.88 kB / 1.036 GB, free: 14.64 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006165/0.8153, allocations: 147.1 kB / 1.036 GB, free: 14.5 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.8168, allocations: 0.521 MB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.8183, allocations: 0.521 MB / 1.037 GB, free: 13.46 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001456/0.8198, allocations: 1.247 MB / 1.039 GB, free: 12.21 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004351/0.8202, allocations: 277.2 kB / 1.039 GB, free: 11.93 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007266/0.8209, allocations: 374.3 kB / 1.039 GB, free: 11.57 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004073/0.8214, allocations: 310.6 kB / 1.04 GB, free: 11.26 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.783e-05/0.8214, allocations: 16 kB / 1.04 GB, free: 11.25 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004931/0.8219, allocations: 195.6 kB / 1.04 GB, free: 11.05 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.822, allocations: 71.61 kB / 1.04 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.8222, allocations: 198.8 kB / 1.04 GB, free: 10.79 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000606/0.8229, allocations: 0.4905 MB / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8229, allocations: 0 / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.936e-06/0.8229, allocations: 11.94 kB / 1.04 GB, free: 10.29 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.8229, allocations: 0 / 1.04 GB, free: 10.29 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.001182/0.8241, allocations: 0.7241 MB / 1.041 GB, free: 9.508 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.8241, allocations: 12.03 kB / 1.041 GB, free: 9.496 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.976e-05/0.8242, allocations: 48.38 kB / 1.041 GB, free: 9.449 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005809/0.8248, allocations: 394.1 kB / 1.042 GB, free: 9.023 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.8249, allocations: 20.56 kB / 1.042 GB, free: 9.004 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.8249, allocations: 31.94 kB / 1.042 GB, free: 8.973 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.8253, allocations: 195.2 kB / 1.042 GB, free: 8.773 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.8253, allocations: 0 / 1.042 GB, free: 8.773 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.8253, allocations: 4 kB / 1.042 GB, free: 8.77 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.8253, allocations: 8 kB / 1.042 GB, free: 8.762 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.8256, allocations: 129.7 kB / 1.042 GB, free: 8.637 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.001474/0.8271, allocations: 0.8789 MB / 1.043 GB, free: 7.684 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/0.8275, allocations: 114.6 kB / 1.043 GB, free: 7.562 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.146e-05/0.8276, allocations: 60.75 kB / 1.043 GB, free: 7.5 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003199/0.828, allocations: 332.4 kB / 1.043 GB, free: 7.102 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.828, allocations: 38.55 kB / 1.043 GB, free: 7.055 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.828, allocations: 0 / 1.043 GB, free: 7.055 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0003969/0.8284, allocations: 169.1 kB / 1.044 GB, free: 6.883 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.8285, allocations: 55.41 kB / 1.044 GB, free: 6.816 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005775/0.8291, allocations: 457.8 kB / 1.044 GB, free: 6.359 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.8291, allocations: 37.7 kB / 1.044 GB, free: 6.316 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.8293, allocations: 212.3 kB / 1.044 GB, free: 6.102 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.8293, allocations: 39.39 kB / 1.044 GB, free: 6.062 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.849e-05/0.8294, allocations: 53.7 kB / 1.044 GB, free: 6.004 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.8296, allocations: 346.8 kB / 1.045 GB, free: 5.656 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.8297, allocations: 55.91 kB / 1.045 GB, free: 5.602 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.8299, allocations: 111.1 kB / 1.045 GB, free: 5.477 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.8301, allocations: 131.2 kB / 1.045 GB, free: 5.336 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8301, allocations: 0 / 1.045 GB, free: 5.336 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000368/0.8305, allocations: 217 kB / 1.045 GB, free: 5.117 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.8305, allocations: 10.33 kB / 1.045 GB, free: 5.109 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.8305, allocations: 4 kB / 1.045 GB, free: 5.105 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.8306, allocations: 0 / 1.045 GB, free: 5.105 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.8308, allocations: 47.92 kB / 1.045 GB, free: 5.059 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.8308, allocations: 4 kB / 1.045 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.8311, allocations: 39.66 kB / 1.045 GB, free: 5.016 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.8312, allocations: 12 kB / 1.045 GB, free: 5.004 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.0001688/0.8314, allocations: 158.2 kB / 1.045 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.8314, allocations: 39.44 kB / 1.045 GB, free: 4.801 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/0.8318, allocations: 192.7 kB / 1.046 GB, free: 4.609 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.8318, allocations: 4 kB / 1.046 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8318, allocations: 0 / 1.046 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.8318, allocations: 0 / 1.046 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007906/0.8326, allocations: 0.638 MB / 1.046 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.8326, allocations: 0 / 1.046 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.8328, allocations: 23.98 kB / 1.046 GB, free: 3.875 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.8328, allocations: 0 / 1.046 GB, free: 3.875 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.8328, allocations: 4 kB / 1.046 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.8328, allocations: 0 / 1.046 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.8328, allocations: 12.16 kB / 1.046 GB, free: 3.859 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.8332, allocations: 295.7 kB / 1.047 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.8333, allocations: 128.6 kB / 1.047 GB, free: 3.398 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.8334, allocations: 15.92 kB / 1.047 GB, free: 3.383 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.8336, allocations: 15.89 kB / 1.047 GB, free: 3.367 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.8337, allocations: 27.86 kB / 1.047 GB, free: 3.34 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.8337, allocations: 4 kB / 1.047 GB, free: 3.336 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004053/0.8341, allocations: 323.1 kB / 1.047 GB, free: 3.02 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8341, allocations: 0 / 1.047 GB, free: 3.02 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004484/0.8346, allocations: 107.9 kB / 1.047 GB, free: 2.914 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.0005323/0.8351, allocations: 215.3 kB / 1.047 GB, free: 2.707 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003016/0.8354, allocations: 131.8 kB / 1.048 GB, free: 2.578 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8354, allocations: 0 / 1.048 GB, free: 2.578 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.8355, allocations: 59.91 kB / 1.048 GB, free: 2.52 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.8368, allocations: 206.6 kB / 1.048 GB, free: 2.32 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.8382, allocations: 0.7747 MB / 1.049 GB, free: 1.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.8386, allocations: 0.8155 MB / 1.049 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002439/0.8389, allocations: 65.44 kB / 1.049 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.116e-05/0.839, allocations: 43.42 kB / 1.049 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of SimCode: time 4.61e-07/0.839, allocations: 0 / 1.049 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of Templates: time 0.01397/0.8529, allocations: 7.079 MB / 1.056 GB, free: 9.637 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile (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 & ./Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/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