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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 200.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 250.9 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.078/3.078, allocations: 497.2 MB / 0.7845 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00191/0.00191, allocations: 67.42 kB / 1.139 GB, free: 33.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3071, allocations: 173.9 MB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.02011/0.3272, allocations: 15.6 MB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007489/0.3347, allocations: 4.676 MB / 1.329 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005944/0.3353, allocations: 15.88 kB / 1.329 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000765/0.3361, allocations: 198.6 kB / 1.329 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.338, allocations: 0.5869 MB / 1.33 GB, free: 10.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.3396, allocations: 0.5799 MB / 1.33 GB, free: 10.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001613/0.3413, allocations: 0.947 MB / 1.331 GB, free: 9.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005508/0.3418, allocations: 255.8 kB / 1.332 GB, free: 8.973 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.3428, allocations: 466.1 kB / 1.332 GB, free: 8.516 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006076/0.3434, allocations: 302.6 kB / 1.332 GB, free: 8.219 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.072e-05/0.3435, allocations: 27.94 kB / 1.332 GB, free: 8.191 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005989/0.3441, allocations: 219.6 kB / 1.333 GB, free: 7.977 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.3442, allocations: 83.61 kB / 1.333 GB, free: 7.895 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000284/0.3445, allocations: 202.8 kB / 1.333 GB, free: 7.695 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008544/0.3454, allocations: 0.5018 MB / 1.333 GB, free: 7.191 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3454, allocations: 0 / 1.333 GB, free: 7.191 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3454, allocations: 0 / 1.333 GB, free: 7.191 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.3454, allocations: 4 kB / 1.333 GB, free: 7.188 MB / 1.029 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.001335/0.3467, allocations: 0.7354 MB / 1.334 GB, free: 6.402 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3468, allocations: 12.03 kB / 1.334 GB, free: 6.391 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.3469, allocations: 44.66 kB / 1.334 GB, free: 6.348 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008083/0.3477, allocations: 406.4 kB / 1.334 GB, free: 5.914 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.3477, allocations: 24.56 kB / 1.334 GB, free: 5.891 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.3478, allocations: 24 kB / 1.335 GB, free: 5.867 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.3481, allocations: 195.3 kB / 1.335 GB, free: 5.668 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3482, allocations: 0 / 1.335 GB, free: 5.668 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.3482, allocations: 15.98 kB / 1.335 GB, free: 5.652 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3482, allocations: 7.984 kB / 1.335 GB, free: 5.645 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002583/0.3485, allocations: 129.7 kB / 1.335 GB, free: 5.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.3501, allocations: 0.8754 MB / 1.336 GB, free: 4.566 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/0.3506, allocations: 118.6 kB / 1.336 GB, free: 4.441 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.91e-05/0.3507, allocations: 48.84 kB / 1.336 GB, free: 4.391 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003386/0.3511, allocations: 336.3 kB / 1.336 GB, free: 3.988 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.3511, allocations: 38.5 kB / 1.336 GB, free: 3.941 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.3511, allocations: 0 / 1.336 GB, free: 3.941 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0004146/0.3515, allocations: 173.3 kB / 1.336 GB, free: 3.766 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.3516, allocations: 59.41 kB / 1.336 GB, free: 3.695 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005916/0.3521, allocations: 441.9 kB / 1.337 GB, free: 3.258 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.3522, allocations: 33.7 kB / 1.337 GB, free: 3.219 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.3524, allocations: 208.4 kB / 1.337 GB, free: 3.012 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.3524, allocations: 43.62 kB / 1.337 GB, free: 2.969 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.132e-05/0.3525, allocations: 61.64 kB / 1.337 GB, free: 2.902 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3527, allocations: 346.8 kB / 1.338 GB, free: 2.555 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.3528, allocations: 51.97 kB / 1.338 GB, free: 2.504 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.3529, allocations: 106.9 kB / 1.338 GB, free: 2.383 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.3532, allocations: 135.3 kB / 1.338 GB, free: 2.238 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.3532, allocations: 4 kB / 1.338 GB, free: 2.234 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004111/0.3536, allocations: 225.2 kB / 1.338 GB, free: 2.008 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3536, allocations: 5.719 kB / 1.338 GB, free: 2.004 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.3536, allocations: 4 kB / 1.338 GB, free: 2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3536, allocations: 4 kB / 1.338 GB, free: 1.996 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.3539, allocations: 43.97 kB / 1.338 GB, free: 1.953 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.3539, allocations: 3.938 kB / 1.338 GB, free: 1.949 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003168/0.3542, allocations: 35.77 kB / 1.338 GB, free: 1.914 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.3542, allocations: 15.98 kB / 1.338 GB, free: 1.898 MB / 1.029 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.000177/0.3544, allocations: 149.8 kB / 1.338 GB, free: 1.742 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-05/0.3545, allocations: 43.8 kB / 1.338 GB, free: 1.699 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003697/0.3548, allocations: 197.9 kB / 1.339 GB, free: 1.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.3549, allocations: 4 kB / 1.339 GB, free: 1.496 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.3549, allocations: 0 / 1.339 GB, free: 1.496 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3549, allocations: 0 / 1.339 GB, free: 1.496 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008971/0.3558, allocations: 0.6225 MB / 1.339 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.3558, allocations: 4 kB / 1.339 GB, free: 0.8008 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.3559, allocations: 23.92 kB / 1.339 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.3559, allocations: 4 kB / 1.339 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3559, allocations: 3.938 kB / 1.339 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3559, allocations: 4 kB / 1.339 GB, free: 0.7656 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3559, allocations: 3.938 kB / 1.339 GB, free: 0.7617 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.3563, allocations: 298.7 kB / 1.339 GB, free: 452 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.3564, allocations: 124.8 kB / 1.34 GB, free: 308 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.933e-05/0.3565, allocations: 8 kB / 1.34 GB, free: 300 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.3567, allocations: 11.98 kB / 1.34 GB, free: 288 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.3568, allocations: 15.92 kB / 1.34 GB, free: 272 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.3568, allocations: 8 kB / 1.34 GB, free: 264 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004646/0.3572, allocations: 315.1 kB / 1.34 GB, free: 15.95 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3572, allocations: 0 / 1.34 GB, free: 15.95 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004646/0.3577, allocations: 111.8 kB / 1.34 GB, free: 15.84 MB / 1.045 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.0005172/0.3582, allocations: 212.1 kB / 1.34 GB, free: 15.64 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003026/0.3585, allocations: 127.9 kB / 1.34 GB, free: 15.51 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3585, allocations: 0 / 1.34 GB, free: 15.51 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.3586, allocations: 59.84 kB / 1.34 GB, free: 15.45 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009739/0.3596, allocations: 184.2 kB / 1.341 GB, free: 15.28 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.3611, allocations: 0.6611 MB / 1.341 GB, free: 14.57 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.3615, allocations: 0.8074 MB / 1.342 GB, free: 13.74 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002154/0.3618, allocations: 66.8 kB / 1.342 GB, free: 13.68 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/0.3618, allocations: 31.38 kB / 1.342 GB, free: 13.65 MB / 1.045 GB Notification: Performance of SimCode: time 4.51e-07/0.3618, allocations: 0 / 1.342 GB, free: 13.65 MB / 1.045 GB Notification: Performance of Templates: time 0.01489/0.3767, allocations: 7.173 MB / 1.349 GB, free: 6.602 MB / 1.045 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.732971787918359]