Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001466/0.001466, allocations: 79.75 kB / 19.18 MB, free: 2.516 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.001723/0.001723, allocations: 163 kB / 22.46 MB, free: 5.375 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.515/1.515, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.898/2.898, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.623e-05, allocations: 5.938 kB / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01776/0.01779, allocations: 14.21 MB / 1.014 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006956/0.02475, allocations: 4.249 MB / 1.018 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005343/0.02528, allocations: 19.81 kB / 1.018 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000683/0.02596, allocations: 194.6 kB / 1.018 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001691/0.02765, allocations: 0.6019 MB / 1.019 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.02932, allocations: 0.6051 MB / 1.02 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001408/0.03073, allocations: 0.923 MB / 1.02 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004399/0.03117, allocations: 240.4 kB / 1.021 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.03217, allocations: 0.5645 MB / 1.021 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000432/0.03261, allocations: 251.2 kB / 1.021 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.03267, allocations: 20 kB / 1.021 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005124/0.03318, allocations: 195.5 kB / 1.022 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.0333, allocations: 91.55 kB / 1.022 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.03348, allocations: 131.6 kB / 1.022 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007335/0.03421, allocations: 0.4983 MB / 1.022 GB, free: 428 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.03422, allocations: 0 / 1.022 GB, free: 428 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.03422, allocations: 0 / 1.022 GB, free: 428 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.03423, allocations: 0 / 1.022 GB, free: 428 kB / 0.9669 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.001173/0.0354, allocations: 0.6446 MB / 1.023 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.03544, allocations: 8.031 kB / 1.023 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.03555, allocations: 52.61 kB / 1.023 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006548/0.0362, allocations: 326.5 kB / 1.023 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.03622, allocations: 24.81 kB / 1.023 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.649e-05/0.03627, allocations: 24.38 kB / 1.023 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.03664, allocations: 200.2 kB / 1.024 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.03665, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.03668, allocations: 12 kB / 1.024 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.03668, allocations: 4 kB / 1.024 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.03693, allocations: 133.9 kB / 1.024 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.03829, allocations: 0.6242 MB / 1.024 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.03878, allocations: 110.6 kB / 1.024 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.468e-05/0.03886, allocations: 44.83 kB / 1.025 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/0.03901, allocations: 35.92 kB / 1.025 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.03905, allocations: 38.48 kB / 1.025 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.03905, allocations: 0 / 1.025 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0003894/0.03944, allocations: 157.5 kB / 1.025 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.03949, allocations: 55.41 kB / 1.025 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/0.03998, allocations: 381.6 kB / 1.025 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.04001, allocations: 33.64 kB / 1.025 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.04021, allocations: 224.5 kB / 1.025 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.04025, allocations: 47.64 kB / 1.025 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.04035, allocations: 53.69 kB / 1.026 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.04053, allocations: 338.8 kB / 1.026 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.04063, allocations: 55.91 kB / 1.026 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.04092, allocations: 263.2 kB / 1.026 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.04116, allocations: 131.3 kB / 1.026 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.04116, allocations: 0 / 1.026 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000409/0.04157, allocations: 221.3 kB / 1.026 GB, free: 12 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.04158, allocations: 7.938 kB / 1.026 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.04159, allocations: 0 / 1.026 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.04161, allocations: 8 kB / 1.026 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.04184, allocations: 47.92 kB / 1.027 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.04184, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.04212, allocations: 19.88 kB / 1.027 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/0.04216, allocations: 15.98 kB / 1.027 GB, free: 11.9 MB / 0.9825 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.0001744/0.04234, allocations: 154.3 kB / 1.027 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.221e-05/0.04242, allocations: 39.7 kB / 1.027 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/0.04279, allocations: 188.1 kB / 1.027 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.0428, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.04281, allocations: 4.062 kB / 1.027 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.04281, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008068/0.04362, allocations: 0.5401 MB / 1.027 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.04362, allocations: 4 kB / 1.027 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.04373, allocations: 27.92 kB / 1.027 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.04374, allocations: 4.281 kB / 1.027 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.04375, allocations: 4 kB / 1.027 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.04375, allocations: 4.125 kB / 1.028 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.04376, allocations: 7.875 kB / 1.028 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.04411, allocations: 294.6 kB / 1.028 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.073e-05/0.0442, allocations: 43.73 kB / 1.028 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.04424, allocations: 7.984 kB / 1.028 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.04446, allocations: 8 kB / 1.028 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.04448, allocations: 11.92 kB / 1.028 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.0445, allocations: 11.98 kB / 1.028 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003509/0.04485, allocations: 267.2 kB / 1.028 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.04485, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004445/0.0453, allocations: 115.7 kB / 1.028 GB, free: 10.1 MB / 0.9825 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.0003844/0.04568, allocations: 195.1 kB / 1.028 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003137/0.046, allocations: 130.4 kB / 1.029 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.046, allocations: 4 kB / 1.029 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.0461, allocations: 56.09 kB / 1.029 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008211/0.04692, allocations: 134.3 kB / 1.029 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.04824, allocations: 0.6332 MB / 1.029 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.04845, allocations: 206.4 kB / 1.03 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001936/0.04864, allocations: 57.88 kB / 1.03 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.04873, allocations: 32.48 kB / 1.03 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.04873, allocations: 0 / 1.03 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of Templates: time 0.01299/0.06172, allocations: 6.34 MB / 1.036 GB, free: 2.434 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.487738825380802]