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.001946/0.001946, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002383/0.002383, allocations: 161.3 kB / 23.54 MB, free: 0.8672 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 1.517/1.517, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 2.881/2.881, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] 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 2.054e-06/2.054e-06, allocations: 0 / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.079e-05/4.284e-05, allocations: 3.438 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.0227/0.02274, allocations: 14.25 MB / 0.8247 GB, free: 3.859 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.008304/0.03105, allocations: 4.279 MB / 0.8289 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007109/0.03176, allocations: 23.75 kB / 0.8289 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0008528/0.03261, allocations: 194.5 kB / 0.8291 GB, free: 15.37 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.03471, allocations: 0.6058 MB / 0.8297 GB, free: 14.76 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.03666, allocations: 0.5997 MB / 0.8303 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.001734/0.0384, allocations: 0.9582 MB / 0.8312 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006459/0.03904, allocations: 272.5 kB / 0.8315 GB, free: 12.92 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.04046, allocations: 0.5762 MB / 0.8321 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005857/0.04105, allocations: 259.1 kB / 0.8323 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.683e-05/0.04113, allocations: 24 kB / 0.8323 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005683/0.0417, allocations: 187.6 kB / 0.8325 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.04186, allocations: 83.55 kB / 0.8326 GB, free: 11.8 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0004002/0.04226, allocations: 135.6 kB / 0.8327 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.04326, allocations: 0.4982 MB / 0.8332 GB, free: 11.17 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.04327, allocations: 3.984 kB / 0.8332 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.342e-06/0.04327, allocations: 0 / 0.8332 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.722e-05/0.04329, allocations: 0 / 0.8332 GB, free: 11.16 MB / 0.7917 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.001386/0.04467, allocations: 0.6446 MB / 0.8338 GB, free: 10.48 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.04472, allocations: 12.03 kB / 0.8338 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.04491, allocations: 72.55 kB / 0.8339 GB, free: 10.4 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007995/0.04571, allocations: 342.5 kB / 0.8342 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.716e-05/0.04575, allocations: 20.88 kB / 0.8343 GB, free: 10.03 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.0458, allocations: 24.38 kB / 0.8343 GB, free: 10 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004211/0.04622, allocations: 196.2 kB / 0.8345 GB, free: 9.809 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.04623, allocations: 4 kB / 0.8345 GB, free: 9.805 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.04625, allocations: 7.938 kB / 0.8345 GB, free: 9.797 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.04626, allocations: 4 kB / 0.8345 GB, free: 9.793 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.04654, allocations: 141.9 kB / 0.8346 GB, free: 9.656 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.04815, allocations: 0.632 MB / 0.8352 GB, free: 8.988 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.04866, allocations: 114.6 kB / 0.8353 GB, free: 8.867 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.04876, allocations: 52.81 kB / 0.8354 GB, free: 8.812 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.04892, allocations: 27.98 kB / 0.8354 GB, free: 8.785 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.04896, allocations: 42.48 kB / 0.8355 GB, free: 8.734 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.04897, allocations: 0 / 0.8355 GB, free: 8.734 MB / 0.7917 GB Notification: Performance of matching and sorting (n=12): time 0.0004594/0.04942, allocations: 177.6 kB / 0.8356 GB, free: 8.555 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.04947, allocations: 51.41 kB / 0.8357 GB, free: 8.492 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005578/0.05003, allocations: 385.6 kB / 0.8361 GB, free: 8.105 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.05006, allocations: 29.7 kB / 0.8361 GB, free: 8.07 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.05028, allocations: 220.6 kB / 0.8363 GB, free: 7.852 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.05032, allocations: 43.64 kB / 0.8363 GB, free: 7.809 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.05043, allocations: 57.64 kB / 0.8364 GB, free: 7.746 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.05064, allocations: 342.8 kB / 0.8367 GB, free: 7.402 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.05075, allocations: 47.98 kB / 0.8368 GB, free: 7.355 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.05103, allocations: 255.3 kB / 0.837 GB, free: 7.051 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.05127, allocations: 139.3 kB / 0.8371 GB, free: 6.902 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.05127, allocations: 3.938 kB / 0.8371 GB, free: 6.898 MB / 0.7917 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004492/0.05172, allocations: 221.3 kB / 0.8374 GB, free: 6.676 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.05174, allocations: 11.94 kB / 0.8374 GB, free: 6.664 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.05175, allocations: 0 / 0.8374 GB, free: 6.664 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.05177, allocations: 0 / 0.8374 GB, free: 6.664 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.052, allocations: 43.92 kB / 0.8374 GB, free: 6.621 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.05201, allocations: 7.984 kB / 0.8374 GB, free: 6.613 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.05233, allocations: 31.77 kB / 0.8374 GB, free: 6.582 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.05236, allocations: 12 kB / 0.8375 GB, free: 6.57 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 0.0002093/0.05257, allocations: 145.8 kB / 0.8376 GB, free: 6.418 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.281e-05/0.05267, allocations: 47.7 kB / 0.8376 GB, free: 6.371 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003904/0.05306, allocations: 182.8 kB / 0.8378 GB, free: 6.191 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.05306, allocations: 0 / 0.8378 GB, free: 6.191 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.05307, allocations: 4 kB / 0.8378 GB, free: 6.188 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.05308, allocations: 3.984 kB / 0.8378 GB, free: 6.184 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000895/0.05397, allocations: 0.5363 MB / 0.8383 GB, free: 5.598 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.05398, allocations: 128 / 0.8383 GB, free: 5.598 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.0541, allocations: 35.92 kB / 0.8384 GB, free: 5.562 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.05411, allocations: 0 / 0.8384 GB, free: 5.562 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.05412, allocations: 4 kB / 0.8384 GB, free: 5.559 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.05412, allocations: 4 kB / 0.8384 GB, free: 5.555 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.05412, allocations: 0 / 0.8384 GB, free: 5.555 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.05453, allocations: 303.5 kB / 0.8387 GB, free: 5.23 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.05465, allocations: 51.72 kB / 0.8387 GB, free: 5.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/0.05469, allocations: 4 kB / 0.8387 GB, free: 5.176 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.05491, allocations: 12.05 kB / 0.8387 GB, free: 5.164 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.05495, allocations: 15.98 kB / 0.8388 GB, free: 5.148 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.05497, allocations: 8 kB / 0.8388 GB, free: 5.141 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003796/0.05534, allocations: 267.2 kB / 0.839 GB, free: 4.879 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.05534, allocations: 0 / 0.839 GB, free: 4.879 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005081/0.05585, allocations: 115.6 kB / 0.8391 GB, free: 4.766 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.0004278/0.05628, allocations: 210.5 kB / 0.8393 GB, free: 4.555 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.05661, allocations: 131.8 kB / 0.8395 GB, free: 4.426 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.05662, allocations: 0 / 0.8395 GB, free: 4.426 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.05673, allocations: 55.91 kB / 0.8395 GB, free: 4.371 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.05775, allocations: 148.2 kB / 0.8397 GB, free: 4.23 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.05924, allocations: 0.6383 MB / 0.8403 GB, free: 3.551 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.05948, allocations: 199.1 kB / 0.8405 GB, free: 3.34 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000236/0.05972, allocations: 58.12 kB / 0.8405 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.974e-05/0.05981, allocations: 32.5 kB / 0.8405 GB, free: 3.25 MB / 0.7917 GB Notification: Performance of SimCode: time 9.02e-07/0.05981, allocations: 0 / 0.8405 GB, free: 3.25 MB / 0.7917 GB Notification: Performance of Templates: time 0.01569/0.0755, allocations: 6.58 MB / 0.847 GB, free: 12.87 MB / 0.8073 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=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/jenkins/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: 8.24305467994418]