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.0009529/0.0009529, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0009074/0.0009074, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9/0.9, allocations: 177.2 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.732/1.732, allocations: 389 MB / 0.6338 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] 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.252e-06/1.252e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.101e-05, allocations: 6.281 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01012/0.01014, allocations: 14.22 MB / 1.015 GB, free: 14.69 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003557/0.0137, allocations: 4.258 MB / 1.019 GB, free: 10.42 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.01391, allocations: 19.81 kB / 1.019 GB, free: 10.4 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004322/0.01434, allocations: 182.6 kB / 1.019 GB, free: 10.22 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0007495/0.01509, allocations: 0.6097 MB / 1.02 GB, free: 9.605 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007599/0.01585, allocations: 0.602 MB / 1.02 GB, free: 9.008 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0006751/0.01652, allocations: 0.9307 MB / 1.021 GB, free: 8.074 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002577/0.01678, allocations: 236.5 kB / 1.021 GB, free: 7.836 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004922/0.01727, allocations: 0.5683 MB / 1.022 GB, free: 7.266 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.01749, allocations: 255.2 kB / 1.022 GB, free: 7.016 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.01753, allocations: 24 kB / 1.022 GB, free: 6.992 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002249/0.01775, allocations: 183.6 kB / 1.022 GB, free: 6.812 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 7.909e-05/0.01783, allocations: 83.55 kB / 1.023 GB, free: 6.73 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 9.264e-05/0.01792, allocations: 131.6 kB / 1.023 GB, free: 6.602 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.01837, allocations: 0.4983 MB / 1.023 GB, free: 6.102 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.01837, allocations: 4 kB / 1.023 GB, free: 6.098 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01837, allocations: 0 / 1.023 GB, free: 6.098 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.01838, allocations: 0 / 1.023 GB, free: 6.098 MB / 0.9792 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.0007085/0.01909, allocations: 0.6545 MB / 1.024 GB, free: 5.414 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.01912, allocations: 9.344 kB / 1.024 GB, free: 5.406 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.794e-05/0.01919, allocations: 52.61 kB / 1.024 GB, free: 5.355 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.01959, allocations: 318.6 kB / 1.024 GB, free: 5.016 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.01961, allocations: 20.88 kB / 1.024 GB, free: 4.996 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.01963, allocations: 24.38 kB / 1.024 GB, free: 4.973 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.01985, allocations: 196.2 kB / 1.024 GB, free: 4.777 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.01986, allocations: 0 / 1.024 GB, free: 4.777 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.01988, allocations: 8 kB / 1.024 GB, free: 4.77 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.01988, allocations: 8 kB / 1.024 GB, free: 4.762 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.02004, allocations: 137.9 kB / 1.025 GB, free: 4.625 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009302/0.02097, allocations: 0.6281 MB / 1.025 GB, free: 3.969 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.02124, allocations: 114.6 kB / 1.025 GB, free: 3.848 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/0.02129, allocations: 44.84 kB / 1.025 GB, free: 3.801 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 9.17e-05/0.02138, allocations: 27.97 kB / 1.025 GB, free: 3.773 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.0214, allocations: 38.5 kB / 1.025 GB, free: 3.727 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/0.0214, allocations: 0 / 1.025 GB, free: 3.727 MB / 0.9792 GB Notification: Performance of matching and sorting (n=12): time 0.0002486/0.02165, allocations: 169.3 kB / 1.026 GB, free: 3.555 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.02167, allocations: 55.41 kB / 1.026 GB, free: 3.488 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.02195, allocations: 385.5 kB / 1.026 GB, free: 3.105 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.02196, allocations: 29.7 kB / 1.026 GB, free: 3.07 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.02206, allocations: 220.6 kB / 1.026 GB, free: 2.852 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.02208, allocations: 35.66 kB / 1.026 GB, free: 2.816 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.02214, allocations: 57.69 kB / 1.026 GB, free: 2.754 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.557e-05/0.02222, allocations: 346.8 kB / 1.027 GB, free: 2.406 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.878e-05/0.02228, allocations: 39.98 kB / 1.027 GB, free: 2.367 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.02242, allocations: 267.8 kB / 1.027 GB, free: 2.051 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.02255, allocations: 139.2 kB / 1.027 GB, free: 1.902 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.02256, allocations: 8 kB / 1.027 GB, free: 1.895 MB / 0.9792 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002147/0.02277, allocations: 213.2 kB / 1.027 GB, free: 1.68 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.02279, allocations: 11.94 kB / 1.027 GB, free: 1.668 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.02279, allocations: 0 / 1.027 GB, free: 1.668 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.02281, allocations: 0 / 1.027 GB, free: 1.668 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.02293, allocations: 43.92 kB / 1.027 GB, free: 1.625 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.02294, allocations: 7.984 kB / 1.027 GB, free: 1.617 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.02306, allocations: 27.81 kB / 1.027 GB, free: 1.59 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.02308, allocations: 8 kB / 1.027 GB, free: 1.582 MB / 0.9792 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.0001025/0.02318, allocations: 153.8 kB / 1.027 GB, free: 1.422 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.02322, allocations: 35.7 kB / 1.028 GB, free: 1.387 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.02344, allocations: 194.7 kB / 1.028 GB, free: 1.191 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.02344, allocations: 4 kB / 1.028 GB, free: 1.188 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.02345, allocations: 4.062 kB / 1.028 GB, free: 1.184 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.02345, allocations: 3.984 kB / 1.028 GB, free: 1.18 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.02388, allocations: 0.5324 MB / 1.028 GB, free: 0.5977 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.02388, allocations: 4.125 kB / 1.028 GB, free: 0.5938 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.535e-05/0.02394, allocations: 27.92 kB / 1.028 GB, free: 0.5664 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.02394, allocations: 4 kB / 1.028 GB, free: 0.5625 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.02395, allocations: 0 / 1.028 GB, free: 0.5625 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.02395, allocations: 4 kB / 1.028 GB, free: 0.5586 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.02395, allocations: 0 / 1.028 GB, free: 0.5586 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.02414, allocations: 298.5 kB / 1.029 GB, free: 244 kB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.02419, allocations: 43.72 kB / 1.029 GB, free: 200 kB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.02421, allocations: 8 kB / 1.029 GB, free: 192 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.335e-05/0.0243, allocations: 11.98 kB / 1.029 GB, free: 180 kB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.02432, allocations: 15.98 kB / 1.029 GB, free: 164 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.02433, allocations: 7.938 kB / 1.029 GB, free: 156 kB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001823/0.02451, allocations: 263.2 kB / 1.029 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.02451, allocations: 0 / 1.029 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002594/0.02477, allocations: 119.6 kB / 1.029 GB, free: 15.78 MB / 0.9948 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.000225/0.025, allocations: 199.1 kB / 1.029 GB, free: 15.58 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001857/0.02518, allocations: 144.2 kB / 1.029 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02518, allocations: 0 / 1.029 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 5.768e-05/0.02524, allocations: 59.91 kB / 1.029 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.02567, allocations: 130.5 kB / 1.03 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007412/0.02642, allocations: 0.6538 MB / 1.03 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.02652, allocations: 198.5 kB / 1.03 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.02658, allocations: 32.5 kB / 1.03 GB, free: 14.31 MB / 0.9948 GB Notification: Performance of SimCode: time 4.61e-07/0.02658, allocations: 0 / 1.03 GB, free: 14.31 MB / 0.9948 GB Notification: Performance of Templates: time 0.005378/0.03196, allocations: 5.895 MB / 1.036 GB, free: 8.473 MB / 0.9948 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: 7.618623062968254]