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.001783/0.001783, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 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.002803/0.002803, allocations: 206.6 kB / 23 MB, free: 4.934 MB / 14.72 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 1.668/1.668, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.34/3.34, allocations: 0.49 GB / 0.7959 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 68.25 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4517/0.4538, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01843/0.4722, allocations: 14.36 MB / 1.341 GB, free: 2.555 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00736/0.4796, allocations: 4.274 MB / 1.345 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006995/0.4803, allocations: 23.75 kB / 1.345 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006944/0.481, allocations: 190.6 kB / 1.345 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.4828, allocations: 0.5959 MB / 1.346 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.4846, allocations: 0.5805 MB / 1.347 GB, free: 12.89 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001634/0.4862, allocations: 0.9547 MB / 1.348 GB, free: 11.93 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005239/0.4867, allocations: 256.4 kB / 1.348 GB, free: 11.66 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.4878, allocations: 486.1 kB / 1.348 GB, free: 11.19 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005135/0.4883, allocations: 302.6 kB / 1.349 GB, free: 10.89 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.135e-05/0.4884, allocations: 24 kB / 1.349 GB, free: 10.87 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005691/0.4889, allocations: 187.7 kB / 1.349 GB, free: 10.68 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.4891, allocations: 87.55 kB / 1.349 GB, free: 10.6 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.4893, allocations: 163.1 kB / 1.349 GB, free: 10.44 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008255/0.4901, allocations: 0.5018 MB / 1.349 GB, free: 9.934 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4901, allocations: 0 / 1.349 GB, free: 9.934 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4901, allocations: 4 kB / 1.349 GB, free: 9.93 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.926e-05/0.4901, allocations: 4 kB / 1.349 GB, free: 9.926 MB / 1.045 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.001263/0.4914, allocations: 0.6523 MB / 1.35 GB, free: 9.242 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.4914, allocations: 8.031 kB / 1.35 GB, free: 9.234 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.4916, allocations: 48.66 kB / 1.35 GB, free: 9.188 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00077/0.4923, allocations: 335.2 kB / 1.351 GB, free: 8.832 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.4924, allocations: 24.56 kB / 1.351 GB, free: 8.809 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.243e-05/0.4924, allocations: 24 kB / 1.351 GB, free: 8.785 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/0.4928, allocations: 203.2 kB / 1.351 GB, free: 8.578 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.4928, allocations: 0 / 1.351 GB, free: 8.578 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.4929, allocations: 11.94 kB / 1.351 GB, free: 8.566 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.4929, allocations: 8 kB / 1.351 GB, free: 8.559 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/0.4931, allocations: 129.7 kB / 1.351 GB, free: 8.43 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.4946, allocations: 0.6239 MB / 1.351 GB, free: 7.777 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005028/0.4951, allocations: 114.6 kB / 1.352 GB, free: 7.656 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.426e-05/0.4952, allocations: 48.83 kB / 1.352 GB, free: 7.605 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/0.4953, allocations: 23.98 kB / 1.352 GB, free: 7.582 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.4954, allocations: 46.48 kB / 1.352 GB, free: 7.527 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.843e-06/0.4954, allocations: 0 / 1.352 GB, free: 7.527 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0004134/0.4958, allocations: 169.4 kB / 1.352 GB, free: 7.355 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.4958, allocations: 51.41 kB / 1.352 GB, free: 7.293 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005212/0.4963, allocations: 381.6 kB / 1.352 GB, free: 6.914 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.4964, allocations: 29.7 kB / 1.352 GB, free: 6.879 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.4966, allocations: 224.5 kB / 1.353 GB, free: 6.656 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.4966, allocations: 47.58 kB / 1.353 GB, free: 6.609 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.4968, allocations: 57.69 kB / 1.353 GB, free: 6.547 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002174/0.497, allocations: 342.8 kB / 1.353 GB, free: 6.203 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.4971, allocations: 51.98 kB / 1.353 GB, free: 6.152 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.4974, allocations: 265.7 kB / 1.353 GB, free: 5.84 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.4976, allocations: 131.3 kB / 1.353 GB, free: 5.699 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.4976, allocations: 4 kB / 1.353 GB, free: 5.695 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003971/0.498, allocations: 221.2 kB / 1.354 GB, free: 5.473 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.4981, allocations: 8 kB / 1.354 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.4981, allocations: 0 / 1.354 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/0.4981, allocations: 4 kB / 1.354 GB, free: 5.461 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.4983, allocations: 43.91 kB / 1.354 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.4984, allocations: 4 kB / 1.354 GB, free: 5.414 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.4987, allocations: 27.88 kB / 1.354 GB, free: 5.387 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.4987, allocations: 12 kB / 1.354 GB, free: 5.375 MB / 1.045 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.0002101/0.4989, allocations: 153.8 kB / 1.354 GB, free: 5.215 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.339e-05/0.499, allocations: 35.7 kB / 1.354 GB, free: 5.18 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004051/0.4994, allocations: 188.8 kB / 1.354 GB, free: 4.992 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.4994, allocations: 3.984 kB / 1.354 GB, free: 4.988 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4994, allocations: 0 / 1.354 GB, free: 4.988 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.4995, allocations: 55.69 kB / 1.354 GB, free: 4.934 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.4996, allocations: 3.938 kB / 1.354 GB, free: 4.93 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.4998, allocations: 11.98 kB / 1.354 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.4998, allocations: 7.984 kB / 1.354 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003508/0.5001, allocations: 232.7 kB / 1.354 GB, free: 4.676 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003623/0.5005, allocations: 348.4 kB / 1.355 GB, free: 4.32 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.721e-05/0.5006, allocations: 50.34 kB / 1.355 GB, free: 4.273 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000356/0.501, allocations: 267.2 kB / 1.355 GB, free: 4.016 MB / 1.045 GB Notification: Performance of Backend: time 7.41e-07/0.501, allocations: 0 / 1.355 GB, free: 4.016 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008958/0.5019, allocations: 264.9 kB / 1.355 GB, free: 3.75 MB / 1.045 GB Notification: Performance of SimCode: time 0.001735/0.5036, allocations: 1.118 MB / 1.356 GB, free: 2.586 MB / 1.045 GB Notification: Performance of Templates: time 0.0145/0.5181, allocations: 7.078 MB / 1.363 GB, free: 11.68 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.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: 10.062943980003183]