Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.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.001956/0.001956, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002417/0.002417, allocations: 192 kB / 22.17 MB, free: 5.652 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.552/1.552, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.333/3.333, allocations: 497.2 MB / 0.7845 GB, free: 33.82 MB / 0.6231 GB " [Timeout remaining time 176] 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.Networks.Pipes.Validation.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pipSta1.dh|pipAut1.dh|pipSta2.dh|pipAut2.dh|pipSta1.dp|pipAut1.dp|pipSta2.dp|pipAut2.dp",fileNamePrefix="Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe") translateModel(Buildings.DHC.Networks.Pipes.Validation.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pipSta1.dh|pipAut1.dh|pipSta2.dh|pipAut2.dh|pipSta1.dp|pipAut1.dp|pipSta2.dp|pipAut2.dp",fileNamePrefix="Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 72.2 kB / 1.139 GB, free: 33.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4013, allocations: 173.9 MB / 1.309 GB, free: 0 / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.03682/0.4381, allocations: 29.43 MB / 1.338 GB, free: 2.453 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01249/0.4506, allocations: 6.832 MB / 1.345 GB, free: 11.6 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/0.452, allocations: 35.75 kB / 1.345 GB, free: 11.57 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.4534, allocations: 425.1 kB / 1.345 GB, free: 11.15 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004078/0.4574, allocations: 1.359 MB / 1.346 GB, free: 9.785 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.4594, allocations: 0.6339 MB / 1.347 GB, free: 9.156 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003564/0.4629, allocations: 2.151 MB / 1.349 GB, free: 7 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008314/0.4638, allocations: 452.9 kB / 1.35 GB, free: 6.547 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002263/0.466, allocations: 0.9649 MB / 1.351 GB, free: 5.578 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008908/0.4669, allocations: 0.5365 MB / 1.351 GB, free: 5.039 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.847e-05/0.467, allocations: 40 kB / 1.351 GB, free: 5 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.4692, allocations: 1.002 MB / 1.352 GB, free: 3.996 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.4694, allocations: 155.2 kB / 1.352 GB, free: 3.844 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004634/0.4699, allocations: 373.9 kB / 1.353 GB, free: 3.477 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.4721, allocations: 1.234 MB / 1.354 GB, free: 2.238 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4721, allocations: 4 kB / 1.354 GB, free: 2.234 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4721, allocations: 0 / 1.354 GB, free: 2.234 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.4721, allocations: 0 / 1.354 GB, free: 2.234 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001957/0.474, allocations: 1.162 MB / 1.355 GB, free: 1.02 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.4741, allocations: 12.62 kB / 1.355 GB, free: 1.008 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.4743, allocations: 92.38 kB / 1.355 GB, free: 0.918 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.4759, allocations: 0.7774 MB / 1.356 GB, free: 100 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.476, allocations: 29 kB / 1.356 GB, free: 68 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.476, allocations: 40 kB / 1.356 GB, free: 28 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006002/0.4766, allocations: 326.5 kB / 1.356 GB, free: 15.7 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.4766, allocations: 0 / 1.356 GB, free: 15.7 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.4767, allocations: 12 kB / 1.356 GB, free: 15.69 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.4767, allocations: 8 kB / 1.356 GB, free: 15.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/0.4771, allocations: 243.8 kB / 1.356 GB, free: 15.45 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002247/0.4793, allocations: 1.454 MB / 1.358 GB, free: 13.87 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.4796, allocations: 134.5 kB / 1.358 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.4797, allocations: 100.8 kB / 1.358 GB, free: 13.63 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007355/0.4805, allocations: 0.8194 MB / 1.359 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.4805, allocations: 38.56 kB / 1.359 GB, free: 12.58 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.4805, allocations: 3.938 kB / 1.359 GB, free: 12.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0006268/0.4812, allocations: 320.3 kB / 1.359 GB, free: 12.26 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.4812, allocations: 51.41 kB / 1.359 GB, free: 12.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009472/0.4822, allocations: 0.7235 MB / 1.36 GB, free: 11.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.4822, allocations: 29.7 kB / 1.36 GB, free: 11.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/0.4825, allocations: 376.1 kB / 1.36 GB, free: 11.05 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.314e-05/0.4826, allocations: 67.44 kB / 1.36 GB, free: 10.99 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.4828, allocations: 102.1 kB / 1.36 GB, free: 10.88 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4829, allocations: 318 kB / 1.361 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.4831, allocations: 110.5 kB / 1.361 GB, free: 10.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/0.4835, allocations: 272 kB / 1.361 GB, free: 10.12 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004908/0.484, allocations: 348 kB / 1.361 GB, free: 9.719 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.484, allocations: 0 / 1.361 GB, free: 9.719 MB / 1.061 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007841/0.4848, allocations: 444.6 kB / 1.362 GB, free: 9.277 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.4848, allocations: 8 kB / 1.362 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.4848, allocations: 7.938 kB / 1.362 GB, free: 9.262 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/0.4848, allocations: 11.98 kB / 1.362 GB, free: 9.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00461/0.4894, allocations: 0.6792 MB / 1.363 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009418/0.4904, allocations: 1.203 MB / 1.364 GB, free: 7.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005118/0.4909, allocations: 47.91 kB / 1.364 GB, free: 7.273 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/0.491, allocations: 24 kB / 1.364 GB, free: 7.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003905/0.4914, allocations: 248.9 kB / 1.364 GB, free: 7 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003502/0.4917, allocations: 281.6 kB / 1.364 GB, free: 6.652 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004697/0.4922, allocations: 361.8 kB / 1.365 GB, free: 6.234 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.509e-06/0.4922, allocations: 4 kB / 1.365 GB, free: 6.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007475/0.4929, allocations: 436.6 kB / 1.365 GB, free: 5.797 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.4929, allocations: 9.562 kB / 1.365 GB, free: 5.789 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4929, allocations: 4 kB / 1.365 GB, free: 5.785 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.493, allocations: 8 kB / 1.365 GB, free: 5.777 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00441/0.4974, allocations: 0.6714 MB / 1.366 GB, free: 5.105 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008653/0.4982, allocations: 1.215 MB / 1.367 GB, free: 3.844 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.4987, allocations: 35.81 kB / 1.367 GB, free: 3.809 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.613e-05/0.4988, allocations: 24.17 kB / 1.367 GB, free: 3.785 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002068/0.499, allocations: 214.2 kB / 1.367 GB, free: 3.57 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.4991, allocations: 75.48 kB / 1.367 GB, free: 3.496 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006866/0.4998, allocations: 397.6 kB / 1.368 GB, free: 3.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.4998, allocations: 3.984 kB / 1.368 GB, free: 3.086 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.4998, allocations: 7.938 kB / 1.368 GB, free: 3.078 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4998, allocations: 0 / 1.368 GB, free: 3.078 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.5013, allocations: 1.004 MB / 1.369 GB, free: 1.992 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.5013, allocations: 0 / 1.369 GB, free: 1.992 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.79e-05/0.5014, allocations: 32.23 kB / 1.369 GB, free: 1.961 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.5014, allocations: 4 kB / 1.369 GB, free: 1.957 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.5014, allocations: 11.98 kB / 1.369 GB, free: 1.945 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/0.5014, allocations: 11.94 kB / 1.369 GB, free: 1.934 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.5014, allocations: 4 kB / 1.369 GB, free: 1.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005813/0.502, allocations: 469.6 kB / 1.369 GB, free: 1.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.5022, allocations: 172.5 kB / 1.369 GB, free: 1.242 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.211e-05/0.5023, allocations: 4 kB / 1.369 GB, free: 1.238 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.5026, allocations: 11.98 kB / 1.369 GB, free: 1.227 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.5026, allocations: 27.92 kB / 1.369 GB, free: 1.199 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.5026, allocations: 11.98 kB / 1.369 GB, free: 1.188 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006439/0.5033, allocations: 0.4951 MB / 1.37 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.5033, allocations: 0 / 1.37 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001156/0.5044, allocations: 391.1 kB / 1.37 GB, free: 320 kB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0008171/0.5053, allocations: 378.8 kB / 1.371 GB, free: 15.94 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01406/0.5193, allocations: 2.201 MB / 1.373 GB, free: 13.74 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/0.5193, allocations: 0.8125 kB / 1.373 GB, free: 13.74 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003561/0.5197, allocations: 120.1 kB / 1.373 GB, free: 13.62 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.5214, allocations: 290.4 kB / 1.373 GB, free: 13.35 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.5236, allocations: 1.101 MB / 1.374 GB, free: 12.19 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/0.5242, allocations: 0.9177 MB / 1.375 GB, free: 11.24 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000548/0.5248, allocations: 181.3 kB / 1.375 GB, free: 11.06 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.5249, allocations: 55.42 kB / 1.375 GB, free: 11.01 MB / 1.076 GB Notification: Performance of SimCode: time 1.102e-06/0.5249, allocations: 4 kB / 1.375 GB, free: 11 MB / 1.076 GB Notification: Performance of Templates: time 0.02879/0.5537, allocations: 13.85 MB / 1.389 GB, free: 13.32 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; mkfifo Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe >> ../files/Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.sim & ./Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Networks_Pipes_Validation_Pipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.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: 10.029866678174585]