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.001885/0.001885, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.002219/0.002219, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.441/1.441, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.76/2.76, allocations: 377.9 MB / 0.6228 GB, free: 12.63 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 63.91 kB / 0.982 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7492/0.7514, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01106/0.7625, allocations: 14.34 MB / 1.168 GB, free: 23.65 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004218/0.7667, allocations: 4.277 MB / 1.172 GB, free: 20.78 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.767, allocations: 27.78 kB / 1.172 GB, free: 20.76 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004356/0.7674, allocations: 187.5 kB / 1.172 GB, free: 20.65 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0009982/0.7684, allocations: 0.588 MB / 1.173 GB, free: 20.31 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.7694, allocations: 0.5793 MB / 1.173 GB, free: 20.03 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008025/0.7702, allocations: 0.9471 MB / 1.174 GB, free: 19.6 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/0.7706, allocations: 265.8 kB / 1.175 GB, free: 19.47 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005855/0.7711, allocations: 483.9 kB / 1.175 GB, free: 19.26 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003306/0.7715, allocations: 291.4 kB / 1.175 GB, free: 19.14 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.821e-05/0.7715, allocations: 27.34 kB / 1.175 GB, free: 19.14 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003317/0.7718, allocations: 181.4 kB / 1.176 GB, free: 19.08 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.89e-05/0.7719, allocations: 88.36 kB / 1.176 GB, free: 19.03 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.7721, allocations: 161.5 kB / 1.176 GB, free: 18.95 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006309/0.7728, allocations: 0.5025 MB / 1.176 GB, free: 18.76 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.7728, allocations: 0.625 kB / 1.176 GB, free: 18.76 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7728, allocations: 0 / 1.176 GB, free: 18.76 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.7728, allocations: 0.5938 kB / 1.176 GB, free: 18.76 MB / 1.076 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.001039/0.7738, allocations: 0.6601 MB / 1.177 GB, free: 18.25 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.7739, allocations: 9.5 kB / 1.177 GB, free: 18.25 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.774, allocations: 48 kB / 1.177 GB, free: 18.23 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005799/0.7745, allocations: 339.2 kB / 1.177 GB, free: 18 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.7746, allocations: 23.34 kB / 1.177 GB, free: 17.98 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.7746, allocations: 25.69 kB / 1.177 GB, free: 17.98 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.7749, allocations: 192.8 kB / 1.178 GB, free: 17.89 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.7749, allocations: 0 / 1.178 GB, free: 17.89 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.7749, allocations: 5.844 kB / 1.178 GB, free: 17.89 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.7749, allocations: 12.91 kB / 1.178 GB, free: 17.88 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.7752, allocations: 137.2 kB / 1.178 GB, free: 17.83 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.7763, allocations: 0.6246 MB / 1.178 GB, free: 17.46 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/0.7768, allocations: 113.2 kB / 1.178 GB, free: 17.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.911e-05/0.7768, allocations: 46.92 kB / 1.178 GB, free: 17.39 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.777, allocations: 27.39 kB / 1.178 GB, free: 17.38 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.183e-05/0.777, allocations: 36.19 kB / 1.179 GB, free: 17.34 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.777, allocations: 3.938 kB / 1.179 GB, free: 17.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0003102/0.7773, allocations: 170.4 kB / 1.179 GB, free: 17.25 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.7773, allocations: 52.69 kB / 1.179 GB, free: 17.19 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.7777, allocations: 389.6 kB / 1.179 GB, free: 16.99 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.7777, allocations: 28.42 kB / 1.179 GB, free: 16.96 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.93e-05/0.7778, allocations: 221.3 kB / 1.179 GB, free: 16.77 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.7778, allocations: 47.09 kB / 1.179 GB, free: 16.74 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-05/0.7779, allocations: 50.84 kB / 1.179 GB, free: 16.71 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.111e-05/0.7779, allocations: 347 kB / 1.18 GB, free: 16.38 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.933e-05/0.778, allocations: 49.53 kB / 1.18 GB, free: 16.36 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.7782, allocations: 264.6 kB / 1.18 GB, free: 16.11 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.7783, allocations: 133.9 kB / 1.18 GB, free: 16.03 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7783, allocations: 0 / 1.18 GB, free: 16.03 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003167/0.7787, allocations: 220.5 kB / 1.18 GB, free: 15.92 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.7787, allocations: 6.062 kB / 1.18 GB, free: 15.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.7787, allocations: 1.188 kB / 1.18 GB, free: 15.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.7787, allocations: 1.344 kB / 1.18 GB, free: 15.92 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.7789, allocations: 49.31 kB / 1.18 GB, free: 15.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.7789, allocations: 2.5 kB / 1.18 GB, free: 15.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.7792, allocations: 28.17 kB / 1.18 GB, free: 15.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.7792, allocations: 10.91 kB / 1.181 GB, free: 15.89 MB / 1.076 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.0001068/0.7793, allocations: 151.8 kB / 1.181 GB, free: 15.76 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.778e-05/0.7794, allocations: 40.23 kB / 1.181 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.7797, allocations: 188.5 kB / 1.181 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.7797, allocations: 2.188 kB / 1.181 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.7797, allocations: 288 / 1.181 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.7797, allocations: 7.703 kB / 1.181 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000593/0.7803, allocations: 0.5408 MB / 1.181 GB, free: 15.26 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.7803, allocations: 5.25 kB / 1.181 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.7804, allocations: 25.69 kB / 1.181 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.7804, allocations: 3.156 kB / 1.181 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.7804, allocations: 7.062 kB / 1.181 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.7804, allocations: 2.094 kB / 1.181 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.7804, allocations: 1.438 kB / 1.181 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.7806, allocations: 298.9 kB / 1.182 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/0.7807, allocations: 51.31 kB / 1.182 GB, free: 14.99 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.7808, allocations: 3.594 kB / 1.182 GB, free: 14.99 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.781, allocations: 8.406 kB / 1.182 GB, free: 14.99 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.781, allocations: 20.56 kB / 1.182 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.781, allocations: 6.203 kB / 1.182 GB, free: 14.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002684/0.7813, allocations: 269.1 kB / 1.182 GB, free: 14.85 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.7813, allocations: 0 / 1.182 GB, free: 14.85 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004142/0.7817, allocations: 110.9 kB / 1.182 GB, free: 14.82 MB / 1.076 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.0002429/0.7819, allocations: 199.7 kB / 1.182 GB, free: 14.7 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002581/0.7822, allocations: 135 kB / 1.182 GB, free: 14.65 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7822, allocations: 0 / 1.182 GB, free: 14.65 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.572e-05/0.7823, allocations: 56.75 kB / 1.183 GB, free: 14.64 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008032/0.7831, allocations: 149.5 kB / 1.183 GB, free: 14.59 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.7842, allocations: 0.6607 MB / 1.183 GB, free: 14.18 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.7844, allocations: 205.3 kB / 1.184 GB, free: 14.09 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001774/0.7845, allocations: 58.62 kB / 1.184 GB, free: 14.08 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.7846, allocations: 38.27 kB / 1.184 GB, free: 14.06 MB / 1.076 GB Notification: Performance of SimCode: time 3.71e-07/0.7846, allocations: 0 / 1.184 GB, free: 14.06 MB / 1.076 GB Notification: Performance of Templates: time 0.01216/0.7968, allocations: 6.545 MB / 1.19 GB, free: 13.2 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.538241910981014]