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.002599/0.002599, allocations: 93.47 kB / 19.44 MB, free: 336 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.003141/0.003141, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.531/1.531, allocations: 177.1 MB / 203.1 MB, free: 5.484 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.343/3.343, allocations: 429.5 MB / 0.6729 GB, free: 3.996 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.744e-06/1.744e-06, allocations: 0 / 0.8774 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.401e-05/3.576e-05, allocations: 6.266 kB / 0.8774 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.03653/0.03657, allocations: 15.87 MB / 0.8929 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01427/0.05083, allocations: 4.709 MB / 0.8975 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006699/0.0515, allocations: 19.81 kB / 0.8976 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.05254, allocations: 194.6 kB / 0.8977 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002886/0.05543, allocations: 0.6097 MB / 0.8983 GB, free: 1.219 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.05824, allocations: 0.588 MB / 0.8989 GB, free: 0.6289 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002241/0.06048, allocations: 0.9338 MB / 0.8998 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007284/0.06121, allocations: 256.5 kB / 0.9001 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.06322, allocations: 0.5645 MB / 0.9006 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007864/0.064, allocations: 255.1 kB / 0.9009 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 9.714e-05/0.0641, allocations: 24 kB / 0.9009 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007939/0.0649, allocations: 183.6 kB / 0.9011 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.06509, allocations: 87.53 kB / 0.9012 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003257/0.06542, allocations: 135.6 kB / 0.9013 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.06675, allocations: 0.5021 MB / 0.9018 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.06675, allocations: 0 / 0.9018 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.493e-06/0.06675, allocations: 0 / 0.9018 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.06676, allocations: 4 kB / 0.9018 GB, free: 13.69 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.002161/0.06892, allocations: 0.7676 MB / 0.9025 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.06897, allocations: 8.031 kB / 0.9025 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002328/0.06921, allocations: 72.66 kB / 0.9026 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.07031, allocations: 345.2 kB / 0.9029 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.07035, allocations: 20.88 kB / 0.9029 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.269e-05/0.07042, allocations: 24.38 kB / 0.903 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006289/0.07105, allocations: 188.2 kB / 0.9032 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.07107, allocations: 7.938 kB / 0.9032 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/0.07111, allocations: 4 kB / 0.9032 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.07112, allocations: 4 kB / 0.9032 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.07156, allocations: 117.9 kB / 0.9033 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/0.0744, allocations: 0.7445 MB / 0.904 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008722/0.07528, allocations: 107.1 kB / 0.9041 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.07542, allocations: 39.67 kB / 0.9041 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/0.07565, allocations: 31.97 kB / 0.9042 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/0.0757, allocations: 41.33 kB / 0.9042 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 2.164e-06/0.0757, allocations: 4 kB / 0.9042 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.0006533/0.07636, allocations: 161.3 kB / 0.9044 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.07643, allocations: 51.41 kB / 0.9044 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.07748, allocations: 474.7 kB / 0.9049 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.07753, allocations: 33.69 kB / 0.9049 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003956/0.07793, allocations: 279.3 kB / 0.9052 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.294e-05/0.078, allocations: 39.66 kB / 0.9052 GB, free: 10 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.07819, allocations: 63.34 kB / 0.9053 GB, free: 9.93 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000492/0.07868, allocations: 0.5274 MB / 0.9058 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.07887, allocations: 43.84 kB / 0.9058 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/0.07939, allocations: 274.9 kB / 0.9061 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.07982, allocations: 130.7 kB / 0.9062 GB, free: 8.875 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.07983, allocations: 0 / 0.9062 GB, free: 8.875 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007364/0.08056, allocations: 205.2 kB / 0.9064 GB, free: 8.668 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.08059, allocations: 11.94 kB / 0.9064 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.0806, allocations: 0 / 0.9064 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.08062, allocations: 4 kB / 0.9064 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.08102, allocations: 43.92 kB / 0.9065 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.08104, allocations: 7.984 kB / 0.9065 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/0.08151, allocations: 27.88 kB / 0.9065 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.08155, allocations: 4 kB / 0.9065 GB, free: 8.57 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.0003531/0.0819, allocations: 196.6 kB / 0.9067 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.08205, allocations: 39.7 kB / 0.9067 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006149/0.08266, allocations: 167.9 kB / 0.9069 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.08267, allocations: 0 / 0.9069 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.08268, allocations: 0 / 0.9069 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.08268, allocations: 4 kB / 0.9069 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.08457, allocations: 0.6091 MB / 0.9075 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.08458, allocations: 0 / 0.9075 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.08482, allocations: 27.92 kB / 0.9075 GB, free: 7.461 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/0.08483, allocations: 4.062 kB / 0.9075 GB, free: 7.457 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.08486, allocations: 8 kB / 0.9075 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.08486, allocations: 4 kB / 0.9075 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.08487, allocations: 0 / 0.9075 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006878/0.08555, allocations: 334.3 kB / 0.9079 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/0.08576, allocations: 55.67 kB / 0.9079 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.825e-05/0.08583, allocations: 4.125 kB / 0.9079 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.08618, allocations: 8 kB / 0.9079 GB, free: 7.016 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.08623, allocations: 7.984 kB / 0.9079 GB, free: 7.008 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.08625, allocations: 8 kB / 0.9079 GB, free: 7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007266/0.08698, allocations: 319 kB / 0.9082 GB, free: 6.688 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.41e-07/0.08698, allocations: 0 / 0.9082 GB, free: 6.688 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000881/0.08786, allocations: 111.7 kB / 0.9083 GB, free: 6.578 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.0006116/0.08847, allocations: 209.8 kB / 0.9085 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005389/0.08901, allocations: 124 kB / 0.9087 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.08902, allocations: 0 / 0.9087 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.08923, allocations: 63.53 kB / 0.9087 GB, free: 6.176 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.09089, allocations: 152.5 kB / 0.9089 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.09331, allocations: 0.6426 MB / 0.9095 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.09366, allocations: 203.1 kB / 0.9097 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003263/0.09398, allocations: 55.12 kB / 0.9097 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.0941, allocations: 28.5 kB / 0.9098 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of SimCode: time 1.032e-06/0.0941, allocations: 4 kB / 0.9098 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of Templates: time 0.02745/0.1216, allocations: 6.547 MB / 0.9162 GB, free: 14.68 MB / 0.8855 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 -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","/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.772051500971429]