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.00211/0.00211, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.002211/0.002211, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.512/1.512, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 3.142/3.142, allocations: 429.6 MB / 0.673 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.793e-06/1.793e-06, allocations: 0 / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.741e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.02035/0.02037, allocations: 14.25 MB / 0.8915 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007599/0.02797, allocations: 4.257 MB / 0.8957 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005174/0.02849, allocations: 23.75 kB / 0.8957 GB, free: 3.934 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007029/0.02919, allocations: 198.5 kB / 0.8959 GB, free: 3.738 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.03096, allocations: 0.598 MB / 0.8965 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.03264, allocations: 0.5882 MB / 0.897 GB, free: 2.547 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.03416, allocations: 0.9269 MB / 0.8979 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005307/0.03469, allocations: 264.4 kB / 0.8982 GB, free: 1.352 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.03589, allocations: 0.5646 MB / 0.8988 GB, free: 0.7852 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004977/0.03639, allocations: 259.2 kB / 0.899 GB, free: 0.5312 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.497e-05/0.03645, allocations: 20 kB / 0.899 GB, free: 0.5117 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000495/0.03695, allocations: 187.5 kB / 0.8992 GB, free: 336 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.03709, allocations: 91.53 kB / 0.8993 GB, free: 244 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.03729, allocations: 127.6 kB / 0.8994 GB, free: 116 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.0384, allocations: 0.4983 MB / 0.8999 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.03841, allocations: 0 / 0.8999 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.102e-06/0.03841, allocations: 0 / 0.8999 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.495e-05/0.03842, allocations: 3.938 kB / 0.8999 GB, free: 15.61 MB / 0.8698 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.001325/0.03975, allocations: 0.6485 MB / 0.9005 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.03979, allocations: 12.02 kB / 0.9005 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.03994, allocations: 68.66 kB / 0.9006 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007251/0.04067, allocations: 342.5 kB / 0.9009 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.0407, allocations: 28.86 kB / 0.901 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.697e-05/0.04075, allocations: 24.38 kB / 0.901 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.04116, allocations: 200.1 kB / 0.9012 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.04117, allocations: 0 / 0.9012 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.0412, allocations: 4 kB / 0.9012 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.04121, allocations: 8 kB / 0.9012 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.04148, allocations: 129.9 kB / 0.9013 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.04301, allocations: 0.6359 MB / 0.9019 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.0435, allocations: 110.6 kB / 0.902 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.71e-05/0.0436, allocations: 56.75 kB / 0.9021 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.04374, allocations: 31.98 kB / 0.9021 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.04377, allocations: 38.44 kB / 0.9022 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.04378, allocations: 0 / 0.9022 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.0004288/0.0442, allocations: 169.4 kB / 0.9023 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.04426, allocations: 59.39 kB / 0.9024 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005232/0.04478, allocations: 377.6 kB / 0.9027 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.04482, allocations: 33.7 kB / 0.9028 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.04503, allocations: 216.6 kB / 0.903 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/0.04508, allocations: 47.58 kB / 0.903 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.04518, allocations: 65.62 kB / 0.9031 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.04537, allocations: 338.8 kB / 0.9034 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.04549, allocations: 47.97 kB / 0.9035 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.04578, allocations: 274 kB / 0.9037 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.04601, allocations: 123.3 kB / 0.9038 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.04602, allocations: 4 kB / 0.9038 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004231/0.04644, allocations: 225.3 kB / 0.904 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.04646, allocations: 7.938 kB / 0.9041 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.04647, allocations: 0 / 0.9041 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.04649, allocations: 4 kB / 0.9041 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.04672, allocations: 43.92 kB / 0.9041 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.04673, allocations: 4 kB / 0.9041 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.04703, allocations: 23.88 kB / 0.9041 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.04707, allocations: 15.98 kB / 0.9041 GB, free: 11.02 MB / 0.8698 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.0001768/0.04725, allocations: 149.8 kB / 0.9043 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.425e-05/0.04733, allocations: 43.7 kB / 0.9043 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/0.0477, allocations: 187.5 kB / 0.9045 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-05/0.04773, allocations: 12 kB / 0.9045 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.04773, allocations: 0 / 0.9045 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.04773, allocations: 0 / 0.9045 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000859/0.04859, allocations: 0.544 MB / 0.905 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.0486, allocations: 0 / 0.905 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.04872, allocations: 23.98 kB / 0.9051 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.04873, allocations: 4 kB / 0.9051 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.04874, allocations: 0 / 0.9051 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.04874, allocations: 4 kB / 0.9051 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.04874, allocations: 4.125 kB / 0.9051 GB, free: 10 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.04913, allocations: 302.5 kB / 0.9054 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.04924, allocations: 51.73 kB / 0.9054 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.04928, allocations: 0 / 0.9054 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.0495, allocations: 12 kB / 0.9054 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.04954, allocations: 15.97 kB / 0.9054 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.04955, allocations: 8 kB / 0.9055 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003841/0.04994, allocations: 267.2 kB / 0.9057 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.04994, allocations: 0 / 0.9057 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004627/0.0504, allocations: 119.7 kB / 0.9058 GB, free: 9.219 MB / 0.8698 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.0003926/0.05079, allocations: 206.7 kB / 0.906 GB, free: 9.012 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000321/0.05111, allocations: 132.3 kB / 0.9061 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.05111, allocations: 0 / 0.9061 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.05123, allocations: 55.91 kB / 0.9062 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008851/0.05211, allocations: 162.1 kB / 0.9064 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.05369, allocations: 0.6383 MB / 0.907 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.05392, allocations: 203.1 kB / 0.9072 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002162/0.05413, allocations: 59.11 kB / 0.9072 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.592e-05/0.05422, allocations: 28.5 kB / 0.9073 GB, free: 7.68 MB / 0.8698 GB Notification: Performance of SimCode: time 5.61e-07/0.05422, allocations: 0 / 0.9073 GB, free: 7.68 MB / 0.8698 GB Notification: Performance of Templates: time 0.01409/0.06831, allocations: 6.541 MB / 0.9136 GB, free: 1.328 MB / 0.8698 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: 8.405151500017382]