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.001349/0.001349, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001684/0.001684, allocations: 221 kB / 23.01 MB, free: 4.609 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: 230.6 MB / 256.8 MB, free: 8.043 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.126/3.126, allocations: 0.49 GB / 0.7958 GB, free: 33.34 MB / 0.6231 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.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.002045/0.002045, allocations: 64.77 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3679, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.03282/0.4007, allocations: 29.61 MB / 1.356 GB, free: 3.75 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01115/0.4118, allocations: 6.88 MB / 1.363 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.4135, allocations: 59.5 kB / 1.363 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.415, allocations: 425.1 kB / 1.363 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004574/0.4195, allocations: 1.384 MB / 1.365 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.4217, allocations: 0.6842 MB / 1.365 GB, free: 10.31 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004071/0.4258, allocations: 2.227 MB / 1.367 GB, free: 8.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008927/0.4267, allocations: 465.4 kB / 1.368 GB, free: 7.598 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.4291, allocations: 0.9922 MB / 1.369 GB, free: 6.602 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008946/0.43, allocations: 0.5365 MB / 1.369 GB, free: 6.062 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.901e-05/0.43, allocations: 40 kB / 1.369 GB, free: 6.023 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.4324, allocations: 1.025 MB / 1.37 GB, free: 4.996 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.4326, allocations: 151.2 kB / 1.371 GB, free: 4.848 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004849/0.4331, allocations: 385.8 kB / 1.371 GB, free: 4.469 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002259/0.4353, allocations: 1.241 MB / 1.372 GB, free: 3.223 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.4353, allocations: 0 / 1.372 GB, free: 3.223 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4353, allocations: 0 / 1.372 GB, free: 3.223 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.4354, allocations: 4 kB / 1.372 GB, free: 3.219 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.001832/0.4372, allocations: 1.107 MB / 1.373 GB, free: 2.078 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.4372, allocations: 8.031 kB / 1.373 GB, free: 2.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.4374, allocations: 92.38 kB / 1.373 GB, free: 1.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.4391, allocations: 0.7325 MB / 1.374 GB, free: 1.223 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.4391, allocations: 29 kB / 1.374 GB, free: 1.195 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.945e-05/0.4392, allocations: 43.94 kB / 1.374 GB, free: 1.152 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005764/0.4397, allocations: 314.5 kB / 1.374 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4398, allocations: 3.938 kB / 1.374 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.4398, allocations: 16 kB / 1.374 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.4398, allocations: 12 kB / 1.374 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004239/0.4402, allocations: 239.9 kB / 1.375 GB, free: 0.5742 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002118/0.4423, allocations: 1.415 MB / 1.376 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.4426, allocations: 142.4 kB / 1.376 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.4427, allocations: 100.8 kB / 1.376 GB, free: 14.79 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/0.443, allocations: 80.27 kB / 1.376 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.443, allocations: 34.56 kB / 1.376 GB, free: 14.67 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 2.365e-06/0.443, allocations: 4 kB / 1.376 GB, free: 14.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.0006153/0.4437, allocations: 318.7 kB / 1.377 GB, free: 14.35 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.4437, allocations: 51.41 kB / 1.377 GB, free: 14.29 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009152/0.4446, allocations: 0.7354 MB / 1.377 GB, free: 13.54 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.4447, allocations: 33.64 kB / 1.377 GB, free: 13.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/0.445, allocations: 372.2 kB / 1.378 GB, free: 13.13 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.638e-05/0.445, allocations: 79.34 kB / 1.378 GB, free: 13.05 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.4452, allocations: 98.03 kB / 1.378 GB, free: 12.95 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.4454, allocations: 326 kB / 1.378 GB, free: 12.63 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.4456, allocations: 106.5 kB / 1.378 GB, free: 12.52 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/0.4459, allocations: 276 kB / 1.379 GB, free: 12.18 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004793/0.4464, allocations: 343.9 kB / 1.379 GB, free: 11.79 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4464, allocations: 0 / 1.379 GB, free: 11.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007194/0.4471, allocations: 457 kB / 1.379 GB, free: 11.33 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.4471, allocations: 6.031 kB / 1.379 GB, free: 11.33 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.4471, allocations: 11.92 kB / 1.379 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.4472, allocations: 8 kB / 1.379 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005579/0.4527, allocations: 0.7766 MB / 1.38 GB, free: 10.53 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000932/0.4537, allocations: 1.215 MB / 1.381 GB, free: 9.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006149/0.4543, allocations: 39.73 kB / 1.381 GB, free: 9.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-05/0.4544, allocations: 24.17 kB / 1.381 GB, free: 9.207 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004173/0.4548, allocations: 248.9 kB / 1.382 GB, free: 8.961 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003594/0.4551, allocations: 285.7 kB / 1.382 GB, free: 8.609 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004755/0.4556, allocations: 349.7 kB / 1.382 GB, free: 8.203 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.4556, allocations: 0 / 1.382 GB, free: 8.203 MB / 1.076 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007554/0.4564, allocations: 440.9 kB / 1.383 GB, free: 7.766 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4564, allocations: 8 kB / 1.383 GB, free: 7.758 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.4564, allocations: 7.938 kB / 1.383 GB, free: 7.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4564, allocations: 16.03 kB / 1.383 GB, free: 7.734 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005317/0.4617, allocations: 0.7844 MB / 1.384 GB, free: 6.949 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000878/0.4626, allocations: 1.207 MB / 1.385 GB, free: 5.695 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005473/0.4631, allocations: 27.89 kB / 1.385 GB, free: 5.668 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.202e-05/0.4632, allocations: 27.98 kB / 1.385 GB, free: 5.641 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.000236/0.4634, allocations: 212.2 kB / 1.385 GB, free: 5.426 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.4636, allocations: 79.48 kB / 1.385 GB, free: 5.348 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007445/0.4643, allocations: 392.7 kB / 1.385 GB, free: 4.941 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.4643, allocations: 3.984 kB / 1.385 GB, free: 4.938 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4643, allocations: 3.938 kB / 1.385 GB, free: 4.934 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.4644, allocations: 4 kB / 1.385 GB, free: 4.93 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.4658, allocations: 0.9838 MB / 1.386 GB, free: 3.871 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.4659, allocations: 0 / 1.386 GB, free: 3.871 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.466, allocations: 36.17 kB / 1.386 GB, free: 3.836 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.466, allocations: 11.94 kB / 1.386 GB, free: 3.824 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.466, allocations: 4 kB / 1.386 GB, free: 3.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.466, allocations: 4 kB / 1.386 GB, free: 3.816 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.466, allocations: 4 kB / 1.386 GB, free: 3.812 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005708/0.4666, allocations: 479.5 kB / 1.387 GB, free: 3.305 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.4668, allocations: 103.4 kB / 1.387 GB, free: 3.203 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.083e-05/0.4668, allocations: 4 kB / 1.387 GB, free: 3.199 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.4671, allocations: 8 kB / 1.387 GB, free: 3.191 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.4671, allocations: 31.84 kB / 1.387 GB, free: 3.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.4672, allocations: 11.98 kB / 1.387 GB, free: 3.148 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006783/0.4678, allocations: 0.5068 MB / 1.388 GB, free: 2.645 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4678, allocations: 0 / 1.388 GB, free: 2.645 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001273/0.4691, allocations: 395.1 kB / 1.388 GB, free: 2.258 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.0007103/0.4698, allocations: 374.3 kB / 1.388 GB, free: 1.883 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01609/0.4859, allocations: 2.408 MB / 1.391 GB, free: 15.47 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/0.4859, allocations: 4 kB / 1.391 GB, free: 15.47 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.4862, allocations: 121 kB / 1.391 GB, free: 15.35 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.4878, allocations: 294.9 kB / 1.391 GB, free: 15.07 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.4898, allocations: 1.141 MB / 1.392 GB, free: 13.88 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/0.4904, allocations: 0.9256 MB / 1.393 GB, free: 12.92 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.4905, allocations: 55.42 kB / 1.393 GB, free: 12.87 MB / 1.092 GB Notification: Performance of SimCode: time 1.022e-06/0.4905, allocations: 0 / 1.393 GB, free: 12.87 MB / 1.092 GB Notification: Performance of Templates: time 0.02382/0.5144, allocations: 15.05 MB / 1.408 GB, free: 13.91 MB / 1.108 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.466079559992068]