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.000771/0.000771, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001153/0.001924, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008738/0.0008738, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.001891, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.029/1.029, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1053/1.134, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.362/2.362, allocations: 446.7 MB / 0.6745 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2755/2.637, allocations: 145.9 MB / 0.817 GB, free: 4.207 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.813e-06/1.813e-06, allocations: 0 / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.32e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01032/0.01035, allocations: 7.275 MB / 0.8254 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00404/0.01439, allocations: 3.073 MB / 0.8284 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003532/0.01474, allocations: 23.75 kB / 0.8284 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.01509, allocations: 127 kB / 0.8285 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0007089/0.0158, allocations: 397.5 kB / 0.8289 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.01716, allocations: 0.7086 MB / 0.8296 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000821/0.01798, allocations: 0.9075 MB / 0.8305 GB, free: 6.344 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/0.01829, allocations: 245.2 kB / 0.8307 GB, free: 6.09 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005382/0.01883, allocations: 0.5068 MB / 0.8312 GB, free: 5.582 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.01909, allocations: 243.2 kB / 0.8315 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.01912, allocations: 28 kB / 0.8315 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.01934, allocations: 115.8 kB / 0.8316 GB, free: 5.203 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.964e-05/0.01941, allocations: 59.67 kB / 0.8317 GB, free: 5.145 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.01951, allocations: 107.8 kB / 0.8318 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.01987, allocations: 318.7 kB / 0.8321 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.639e-05/0.01989, allocations: 4 kB / 0.8321 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.383e-06/0.01989, allocations: 0 / 0.8321 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.01991, allocations: 0 / 0.8321 GB, free: 4.723 MB / 0.8073 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.0008853/0.02079, allocations: 0.7053 MB / 0.8328 GB, free: 3.992 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.02082, allocations: 8.031 kB / 0.8328 GB, free: 3.984 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.602e-05/0.02089, allocations: 48.89 kB / 0.8328 GB, free: 3.938 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.02125, allocations: 324.6 kB / 0.8331 GB, free: 3.59 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.02127, allocations: 16.88 kB / 0.8331 GB, free: 3.57 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.02129, allocations: 28.38 kB / 0.8332 GB, free: 3.543 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.02146, allocations: 135 kB / 0.8333 GB, free: 3.406 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.02147, allocations: 4 kB / 0.8333 GB, free: 3.402 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.02148, allocations: 7.938 kB / 0.8333 GB, free: 3.395 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.02149, allocations: 4 kB / 0.8333 GB, free: 3.391 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.957e-05/0.02156, allocations: 51.47 kB / 0.8334 GB, free: 3.34 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.02257, allocations: 469.2 kB / 0.8338 GB, free: 2.863 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.02287, allocations: 125.2 kB / 0.8339 GB, free: 2.73 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.766e-05/0.02291, allocations: 27.67 kB / 0.834 GB, free: 2.699 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.02302, allocations: 19.98 kB / 0.834 GB, free: 2.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.02305, allocations: 38.5 kB / 0.834 GB, free: 2.633 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 2.885e-06/0.02305, allocations: 0 / 0.834 GB, free: 2.633 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0002164/0.02327, allocations: 97.45 kB / 0.8341 GB, free: 2.531 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.0233, allocations: 55.41 kB / 0.8342 GB, free: 2.465 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.02356, allocations: 343.3 kB / 0.8345 GB, free: 2.117 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.02358, allocations: 33.7 kB / 0.8345 GB, free: 2.078 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.478e-05/0.02368, allocations: 177.5 kB / 0.8347 GB, free: 1.902 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.0237, allocations: 43.59 kB / 0.8347 GB, free: 1.859 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.61e-05/0.02377, allocations: 57.66 kB / 0.8348 GB, free: 1.797 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.02388, allocations: 346.7 kB / 0.8351 GB, free: 1.449 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.406e-05/0.02391, allocations: 14.83 kB / 0.8351 GB, free: 1.434 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.02403, allocations: 223.3 kB / 0.8353 GB, free: 1.16 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.405e-05/0.02412, allocations: 95.67 kB / 0.8354 GB, free: 1.051 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02412, allocations: 0 / 0.8354 GB, free: 1.051 MB / 0.8073 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001504/0.02427, allocations: 135.1 kB / 0.8356 GB, free: 0.9102 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.02429, allocations: 4 kB / 0.8356 GB, free: 0.9062 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.0243, allocations: 0 / 0.8356 GB, free: 0.9062 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.02431, allocations: 11.88 kB / 0.8356 GB, free: 0.8945 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.02452, allocations: 58.88 kB / 0.8356 GB, free: 0.8398 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.02452, allocations: 0 / 0.8356 GB, free: 0.8398 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.02465, allocations: 27.77 kB / 0.8357 GB, free: 0.8125 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.02467, allocations: 11.98 kB / 0.8357 GB, free: 0.8008 MB / 0.8073 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.085e-05/0.02476, allocations: 120.7 kB / 0.8358 GB, free: 0.6719 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.0248, allocations: 27.97 kB / 0.8358 GB, free: 0.6445 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.02499, allocations: 136.9 kB / 0.8359 GB, free: 0.5117 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.025, allocations: 4 kB / 0.8359 GB, free: 0.5078 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.025, allocations: 64 / 0.8359 GB, free: 0.5078 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.02501, allocations: 4 kB / 0.8359 GB, free: 0.5039 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.02544, allocations: 480.9 kB / 0.8364 GB, free: 15.99 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.02544, allocations: 0 / 0.8364 GB, free: 15.99 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.994e-05/0.02554, allocations: 38.69 kB / 0.8364 GB, free: 15.96 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.0256, allocations: 39.75 kB / 0.8365 GB, free: 15.92 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.0256, allocations: 3.938 kB / 0.8365 GB, free: 15.91 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.02561, allocations: 11.98 kB / 0.8365 GB, free: 15.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.02561, allocations: 0 / 0.8365 GB, free: 15.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.02562, allocations: 4 kB / 0.8365 GB, free: 15.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.02577, allocations: 272.8 kB / 0.8368 GB, free: 15.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.0258, allocations: 4 kB / 0.8368 GB, free: 15.59 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.258e-05/0.02589, allocations: 8 kB / 0.8368 GB, free: 15.59 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.859e-05/0.02591, allocations: 11.98 kB / 0.8368 GB, free: 15.57 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.02592, allocations: 7.984 kB / 0.8368 GB, free: 15.57 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001156/0.02604, allocations: 144.6 kB / 0.8369 GB, free: 15.42 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.02604, allocations: 0 / 0.8369 GB, free: 15.42 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002666/0.0263, allocations: 95.77 kB / 0.837 GB, free: 15.33 MB / 0.823 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.0002239/0.02653, allocations: 128.2 kB / 0.8371 GB, free: 15.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.02668, allocations: 76.7 kB / 0.8372 GB, free: 15.12 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/0.02669, allocations: 8 kB / 0.8372 GB, free: 15.11 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.436e-05/0.02674, allocations: 44.7 kB / 0.8373 GB, free: 15.06 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.02719, allocations: 176.5 kB / 0.8374 GB, free: 14.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.02991, allocations: 0.6591 MB / 0.8381 GB, free: 14.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.405e-05/0.02997, allocations: 104.6 kB / 0.8382 GB, free: 14.08 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.03011, allocations: 45.27 kB / 0.8382 GB, free: 14.04 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.03034, allocations: 151.2 kB / 0.8384 GB, free: 13.89 MB / 0.823 GB Notification: Performance of SimCode: time 1.232e-06/0.03034, allocations: 3.938 kB / 0.8384 GB, free: 13.88 MB / 0.823 GB Notification: Performance of Templates: time 0.009768/0.04011, allocations: 6.736 MB / 0.8449 GB, free: 7.336 MB / 0.823 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.ref.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.477142390795052]