Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 160.8 kB / 24.86 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9458/0.9458, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.817/1.817, allocations: 377.9 MB / 0.6247 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 4.594 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.954e-05, allocations: 8.406 kB / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.006494/0.006514, allocations: 7.181 MB / 0.8198 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002674/0.009188, allocations: 2.532 MB / 0.8223 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.00939, allocations: 19.81 kB / 0.8223 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.009731, allocations: 123 kB / 0.8224 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0008021/0.01053, allocations: 404.9 kB / 0.8228 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007982/0.01133, allocations: 0.5914 MB / 0.8234 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007792/0.01211, allocations: 0.9552 MB / 0.8243 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002816/0.01239, allocations: 266.5 kB / 0.8246 GB, free: 5.391 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004382/0.01283, allocations: 483.4 kB / 0.825 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.01307, allocations: 252.5 kB / 0.8253 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.0131, allocations: 24 kB / 0.8253 GB, free: 4.648 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.01326, allocations: 115.7 kB / 0.8254 GB, free: 4.535 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.193e-05/0.01334, allocations: 88.44 kB / 0.8255 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.725e-05/0.01343, allocations: 127.6 kB / 0.8256 GB, free: 4.324 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.01381, allocations: 347.3 kB / 0.8259 GB, free: 3.984 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.01382, allocations: 0 / 0.8259 GB, free: 3.984 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.001e-06/0.01382, allocations: 0.6562 kB / 0.8259 GB, free: 3.984 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.01382, allocations: 0 / 0.8259 GB, free: 3.984 MB / 0.7761 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.0008545/0.01468, allocations: 0.7564 MB / 0.8267 GB, free: 3.191 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.01471, allocations: 8.031 kB / 0.8267 GB, free: 3.184 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.266e-05/0.01478, allocations: 68.66 kB / 0.8267 GB, free: 3.117 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.01512, allocations: 344.3 kB / 0.8271 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.01514, allocations: 24.86 kB / 0.8271 GB, free: 2.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.01516, allocations: 24.31 kB / 0.8271 GB, free: 2.707 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.01531, allocations: 128.2 kB / 0.8272 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.01531, allocations: 4 kB / 0.8272 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.01533, allocations: 8 kB / 0.8272 GB, free: 2.566 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.01533, allocations: 4 kB / 0.8273 GB, free: 2.562 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.944e-05/0.01542, allocations: 51.45 kB / 0.8273 GB, free: 2.516 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007274/0.01615, allocations: 0.6161 MB / 0.8279 GB, free: 1.871 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.01635, allocations: 95.05 kB / 0.828 GB, free: 1.766 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.01638, allocations: 31.61 kB / 0.828 GB, free: 1.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-05/0.01643, allocations: 16 kB / 0.828 GB, free: 1.715 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.01645, allocations: 41.38 kB / 0.8281 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.01645, allocations: 0 / 0.8281 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0001778/0.01663, allocations: 113.4 kB / 0.8282 GB, free: 1.547 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.01666, allocations: 59.39 kB / 0.8282 GB, free: 1.477 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.0169, allocations: 394.5 kB / 0.8286 GB, free: 1.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.01692, allocations: 33.7 kB / 0.8287 GB, free: 1.031 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.01704, allocations: 263.3 kB / 0.8289 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.01706, allocations: 55.5 kB / 0.829 GB, free: 0.7148 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.01712, allocations: 59.28 kB / 0.829 GB, free: 0.6484 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.01724, allocations: 0.5195 MB / 0.8295 GB, free: 120 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.143e-05/0.01727, allocations: 19.98 kB / 0.8295 GB, free: 100 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.01742, allocations: 242.9 kB / 0.8298 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.011e-05/0.01751, allocations: 94.66 kB / 0.8299 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01751, allocations: 0 / 0.8299 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001753/0.01769, allocations: 161.3 kB / 0.83 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.0177, allocations: 8 kB / 0.83 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01771, allocations: 3.938 kB / 0.83 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.535e-06/0.01772, allocations: 4 kB / 0.83 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.01783, allocations: 47.91 kB / 0.8301 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.01783, allocations: 4 kB / 0.8301 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.01795, allocations: 19.89 kB / 0.8301 GB, free: 15.44 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.01797, allocations: 7.984 kB / 0.8301 GB, free: 15.43 MB / 0.7917 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 9.423e-05/0.01807, allocations: 172.5 kB / 0.8303 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.01811, allocations: 39.77 kB / 0.8303 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.01828, allocations: 147.2 kB / 0.8304 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01829, allocations: 3.938 kB / 0.8305 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01829, allocations: 4.062 kB / 0.8305 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.0183, allocations: 0 / 0.8305 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.01869, allocations: 492.3 kB / 0.8309 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.01869, allocations: 7.938 kB / 0.8309 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.664e-05/0.01875, allocations: 23.98 kB / 0.831 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.01875, allocations: 0 / 0.831 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.01876, allocations: 4 kB / 0.831 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.01876, allocations: 8.062 kB / 0.831 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01876, allocations: 0 / 0.831 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.01893, allocations: 306.4 kB / 0.8313 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.01898, allocations: 59.61 kB / 0.8313 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.019, allocations: 0 / 0.8313 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.181e-05/0.0191, allocations: 8 kB / 0.8313 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.01912, allocations: 19.91 kB / 0.8313 GB, free: 14.06 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.01913, allocations: 4 kB / 0.8313 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001423/0.01927, allocations: 259 kB / 0.8316 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.01927, allocations: 4 kB / 0.8316 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002496/0.01952, allocations: 91.78 kB / 0.8317 GB, free: 13.71 MB / 0.7917 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.0001741/0.01969, allocations: 147.1 kB / 0.8318 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001353/0.01983, allocations: 95.73 kB / 0.8319 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01983, allocations: 0 / 0.8319 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 4.688e-05/0.01988, allocations: 51.58 kB / 0.832 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.02032, allocations: 158.9 kB / 0.8321 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.02135, allocations: 0.6391 MB / 0.8327 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.154e-05/0.02142, allocations: 104.6 kB / 0.8328 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 9.844e-05/0.02152, allocations: 38.97 kB / 0.8329 GB, free: 12.42 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.02172, allocations: 190 kB / 0.8331 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of SimCode: time 6.91e-07/0.02172, allocations: 0 / 0.8331 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of Templates: time 0.008558/0.03028, allocations: 6.468 MB / 0.8394 GB, free: 5.973 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.013727649580687]