Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe.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.001644/0.001644, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00184/0.00184, allocations: 222.2 kB / 23 MB, free: 4.91 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.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 3.2/3.2, allocations: 0.4892 GB / 0.7951 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] 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.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_12_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_12_Buildings.DHC.Networks.Pipes.Validation.Pipe") [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.002137/0.002137, allocations: 68.69 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3529, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.03262/0.3856, allocations: 26.83 MB / 1.352 GB, free: 6.988 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01092/0.3965, allocations: 6.325 MB / 1.359 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.3978, allocations: 55.5 kB / 1.359 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.3992, allocations: 409.1 kB / 1.359 GB, free: 196 kB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00453/0.4037, allocations: 1.362 MB / 1.36 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.4058, allocations: 0.6575 MB / 1.361 GB, free: 14.17 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003707/0.4095, allocations: 2.233 MB / 1.363 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009525/0.4105, allocations: 465.4 kB / 1.364 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002769/0.4133, allocations: 1.16 MB / 1.365 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.4143, allocations: 0.4898 MB / 1.365 GB, free: 9.797 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.4144, allocations: 39.98 kB / 1.365 GB, free: 9.758 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.4161, allocations: 0.7056 MB / 1.366 GB, free: 9.051 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.4163, allocations: 147.2 kB / 1.366 GB, free: 8.906 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004126/0.4168, allocations: 290.4 kB / 1.366 GB, free: 8.621 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002013/0.4188, allocations: 1.152 MB / 1.368 GB, free: 7.465 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4188, allocations: 0 / 1.368 GB, free: 7.465 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4188, allocations: 4 kB / 1.368 GB, free: 7.461 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.4188, allocations: 0 / 1.368 GB, free: 7.461 MB / 1.061 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.001735/0.4205, allocations: 1.079 MB / 1.369 GB, free: 6.348 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.4206, allocations: 8.031 kB / 1.369 GB, free: 6.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.4207, allocations: 92.38 kB / 1.369 GB, free: 6.25 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.4223, allocations: 0.7014 MB / 1.369 GB, free: 5.516 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/0.4224, allocations: 29 kB / 1.369 GB, free: 5.488 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.168e-05/0.4224, allocations: 36 kB / 1.369 GB, free: 5.453 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005734/0.423, allocations: 318.5 kB / 1.37 GB, free: 5.137 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.423, allocations: 7.938 kB / 1.37 GB, free: 5.129 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.4231, allocations: 8 kB / 1.37 GB, free: 5.121 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.4231, allocations: 8 kB / 1.37 GB, free: 5.113 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004148/0.4235, allocations: 239.8 kB / 1.37 GB, free: 4.879 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.4253, allocations: 0.9234 MB / 1.371 GB, free: 3.922 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.4256, allocations: 138.5 kB / 1.371 GB, free: 3.777 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.4257, allocations: 100.7 kB / 1.371 GB, free: 3.676 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002842/0.426, allocations: 75.94 kB / 1.371 GB, free: 3.602 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.426, allocations: 42.84 kB / 1.371 GB, free: 3.551 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 2.104e-06/0.426, allocations: 0 / 1.371 GB, free: 3.551 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0006354/0.4267, allocations: 307.1 kB / 1.372 GB, free: 3.246 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.4267, allocations: 55.36 kB / 1.372 GB, free: 3.18 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008409/0.4276, allocations: 0.6491 MB / 1.372 GB, free: 2.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.4276, allocations: 29.7 kB / 1.372 GB, free: 2.484 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/0.428, allocations: 384.3 kB / 1.373 GB, free: 2.102 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.866e-05/0.428, allocations: 71.36 kB / 1.373 GB, free: 2.031 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.4282, allocations: 106.1 kB / 1.373 GB, free: 1.922 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002244/0.4284, allocations: 374.8 kB / 1.373 GB, free: 1.547 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.4286, allocations: 106.5 kB / 1.373 GB, free: 1.441 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/0.4292, allocations: 0.5706 MB / 1.374 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.4296, allocations: 336 kB / 1.374 GB, free: 344 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.4297, allocations: 4 kB / 1.374 GB, free: 340 kB / 1.061 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007817/0.4304, allocations: 436.8 kB / 1.375 GB, free: 15.9 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.4305, allocations: 8 kB / 1.375 GB, free: 15.89 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.4305, allocations: 7.984 kB / 1.375 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.4305, allocations: 11.94 kB / 1.375 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00619/0.4367, allocations: 0.9249 MB / 1.376 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009547/0.4376, allocations: 1.195 MB / 1.377 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/0.4381, allocations: 39.97 kB / 1.377 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.364e-05/0.4382, allocations: 27.98 kB / 1.377 GB, free: 13.64 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003969/0.4386, allocations: 242 kB / 1.377 GB, free: 13.4 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005205/0.4391, allocations: 0.5803 MB / 1.378 GB, free: 12.67 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004539/0.4395, allocations: 349.6 kB / 1.378 GB, free: 12.27 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.332e-06/0.4396, allocations: 7.984 kB / 1.378 GB, free: 12.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007277/0.4403, allocations: 432.9 kB / 1.378 GB, free: 11.83 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.4403, allocations: 9.875 kB / 1.378 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4403, allocations: 4 kB / 1.378 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.4403, allocations: 12.03 kB / 1.378 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005971/0.4463, allocations: 0.9288 MB / 1.379 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008712/0.4472, allocations: 1.203 MB / 1.38 GB, free: 9.625 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004579/0.4476, allocations: 39.75 kB / 1.38 GB, free: 9.586 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/0.4477, allocations: 24.19 kB / 1.38 GB, free: 9.562 MB / 1.076 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.0001995/0.4479, allocations: 204.8 kB / 1.381 GB, free: 9.355 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.448, allocations: 71.53 kB / 1.381 GB, free: 9.285 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007174/0.4487, allocations: 391.6 kB / 1.381 GB, free: 8.887 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.4487, allocations: 7.984 kB / 1.381 GB, free: 8.879 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4487, allocations: 0 / 1.381 GB, free: 8.879 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4487, allocations: 3.938 kB / 1.381 GB, free: 8.875 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.4501, allocations: 0.8845 MB / 1.382 GB, free: 7.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.4501, allocations: 7.938 kB / 1.382 GB, free: 7.922 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.787e-05/0.4502, allocations: 27.98 kB / 1.382 GB, free: 7.895 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.4502, allocations: 7.938 kB / 1.382 GB, free: 7.887 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.4502, allocations: 8 kB / 1.382 GB, free: 7.879 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.4502, allocations: 7.938 kB / 1.382 GB, free: 7.871 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4502, allocations: 0 / 1.382 GB, free: 7.871 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005643/0.4508, allocations: 473.9 kB / 1.382 GB, free: 7.367 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.451, allocations: 95.42 kB / 1.383 GB, free: 7.273 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/0.451, allocations: 8 kB / 1.383 GB, free: 7.266 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.4512, allocations: 4 kB / 1.383 GB, free: 7.262 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.4513, allocations: 19.91 kB / 1.383 GB, free: 7.242 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.4513, allocations: 12 kB / 1.383 GB, free: 7.23 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005617/0.4519, allocations: 447 kB / 1.383 GB, free: 6.797 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.4519, allocations: 4 kB / 1.383 GB, free: 6.793 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001138/0.453, allocations: 383 kB / 1.383 GB, free: 6.418 MB / 1.076 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.0006166/0.4536, allocations: 334.4 kB / 1.384 GB, free: 6.082 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.02856/0.4822, allocations: 4.433 MB / 1.388 GB, free: 1.645 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.939e-05/0.4822, allocations: 8.75 kB / 1.388 GB, free: 1.637 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.4824, allocations: 115.9 kB / 1.388 GB, free: 1.523 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.4838, allocations: 256.6 kB / 1.388 GB, free: 1.277 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.4859, allocations: 1.211 MB / 1.39 GB, free: 8 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.4863, allocations: 329.9 kB / 1.39 GB, free: 15.66 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.4864, allocations: 59.36 kB / 1.39 GB, free: 15.6 MB / 1.092 GB Notification: Performance of SimCode: time 9.22e-07/0.4864, allocations: 0 / 1.39 GB, free: 15.6 MB / 1.092 GB Notification: Performance of Templates: time 0.02243/0.5088, allocations: 14.47 MB / 1.404 GB, free: 1.215 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; mkfifo Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe >> ../files/Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe.sim & ./Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Networks_Pipes_Validation_Pipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.587613080162555]