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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 187.2 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.89 kB / 1.061 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6954/0.6975, allocations: 160.8 MB / 1.218 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01872/0.7162, allocations: 15.68 MB / 1.234 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007024/0.7232, allocations: 4.716 MB / 1.238 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004193/0.7236, allocations: 19.81 kB / 1.238 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006096/0.7242, allocations: 194.6 kB / 1.239 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.7257, allocations: 0.6139 MB / 1.239 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.7272, allocations: 0.5807 MB / 1.24 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001377/0.7286, allocations: 0.9858 MB / 1.241 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004628/0.7291, allocations: 256.4 kB / 1.241 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000734/0.7298, allocations: 430.3 kB / 1.241 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000453/0.7303, allocations: 318.6 kB / 1.242 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.476e-05/0.7303, allocations: 24 kB / 1.242 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005266/0.7308, allocations: 227.5 kB / 1.242 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.731, allocations: 83.61 kB / 1.242 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.7312, allocations: 206.8 kB / 1.242 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007413/0.7319, allocations: 0.5082 MB / 1.243 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.7319, allocations: 0 / 1.243 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7319, allocations: 4 kB / 1.243 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.7319, allocations: 0 / 1.243 GB, free: 11.5 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.001268/0.7332, allocations: 0.747 MB / 1.243 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.7332, allocations: 8.031 kB / 1.243 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.811e-05/0.7333, allocations: 52.59 kB / 1.243 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007271/0.7341, allocations: 422.3 kB / 1.244 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.7341, allocations: 24.56 kB / 1.244 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.7341, allocations: 27.94 kB / 1.244 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.7345, allocations: 195.3 kB / 1.244 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.7345, allocations: 0 / 1.244 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.7345, allocations: 4 kB / 1.244 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.7345, allocations: 8 kB / 1.244 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002484/0.7348, allocations: 129.7 kB / 1.244 GB, free: 9.809 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.001578/0.7363, allocations: 0.8832 MB / 1.245 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004615/0.7368, allocations: 110.6 kB / 1.245 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.528e-05/0.7369, allocations: 44.84 kB / 1.245 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003322/0.7372, allocations: 340.4 kB / 1.246 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.7372, allocations: 30.56 kB / 1.246 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.7372, allocations: 0 / 1.246 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0003717/0.7376, allocations: 173.3 kB / 1.246 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.7377, allocations: 59.41 kB / 1.246 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005772/0.7382, allocations: 453.9 kB / 1.246 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.7383, allocations: 29.7 kB / 1.246 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.7385, allocations: 212.4 kB / 1.247 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.7385, allocations: 55.5 kB / 1.247 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-05/0.7386, allocations: 57.64 kB / 1.247 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.7388, allocations: 350.8 kB / 1.247 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.7389, allocations: 47.98 kB / 1.247 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.739, allocations: 110.3 kB / 1.247 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.7393, allocations: 143.2 kB / 1.247 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.7393, allocations: 4 kB / 1.247 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000379/0.7396, allocations: 209.3 kB / 1.247 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.7397, allocations: 8 kB / 1.247 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.7397, allocations: 4 kB / 1.247 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.7397, allocations: 0 / 1.247 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.7399, allocations: 51.91 kB / 1.248 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.7399, allocations: 4 kB / 1.248 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.7402, allocations: 31.83 kB / 1.248 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.7403, allocations: 8.062 kB / 1.248 GB, free: 6.176 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.0001682/0.7404, allocations: 164.7 kB / 1.248 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.7405, allocations: 47.72 kB / 1.248 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/0.7409, allocations: 200.8 kB / 1.248 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.7409, allocations: 4 kB / 1.248 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.7409, allocations: 3.938 kB / 1.248 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.7409, allocations: 3.938 kB / 1.248 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008474/0.7417, allocations: 0.6303 MB / 1.249 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.7417, allocations: 0 / 1.249 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.7418, allocations: 23.98 kB / 1.249 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.7418, allocations: 0 / 1.249 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.7419, allocations: 8 kB / 1.249 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.7419, allocations: 4 kB / 1.249 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.7419, allocations: 7.875 kB / 1.249 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.7422, allocations: 295.3 kB / 1.249 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.7424, allocations: 140.7 kB / 1.249 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.577e-05/0.7424, allocations: 4 kB / 1.249 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.7427, allocations: 11.98 kB / 1.249 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.7427, allocations: 19.86 kB / 1.249 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.7427, allocations: 4 kB / 1.249 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004284/0.7431, allocations: 327.1 kB / 1.249 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7431, allocations: 3.938 kB / 1.249 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004518/0.7436, allocations: 103.9 kB / 1.249 GB, free: 4.078 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.0004663/0.744, allocations: 207.1 kB / 1.25 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003103/0.7444, allocations: 139.8 kB / 1.25 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7444, allocations: 0 / 1.25 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.7445, allocations: 60.38 kB / 1.25 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009355/0.7454, allocations: 181.3 kB / 1.25 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.7467, allocations: 0.6759 MB / 1.251 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.7472, allocations: 0.8152 MB / 1.252 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002071/0.7474, allocations: 62.52 kB / 1.252 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.251e-05/0.7474, allocations: 31.44 kB / 1.252 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.7474, allocations: 4 kB / 1.252 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of Templates: time 0.01472/0.7622, allocations: 7.348 MB / 1.259 GB, free: 10.66 MB / 0.9669 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.50901619065553]