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.001593/0.001593, allocations: 110 kB / 18.93 MB, free: 2.945 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.001769/0.001769, allocations: 190.9 kB / 22.23 MB, free: 5.16 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.475/1.475, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.241/3.241, allocations: 0.4893 GB / 0.7884 GB, free: 33.13 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.002005/0.002005, allocations: 62.45 kB / 1.145 GB, free: 30.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3511, allocations: 174.9 MB / 1.316 GB, free: 9.73 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.03383/0.385, allocations: 29.45 MB / 1.345 GB, free: 12.18 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01143/0.3964, allocations: 6.827 MB / 1.351 GB, free: 5.332 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.3977, allocations: 55.5 kB / 1.351 GB, free: 5.277 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.3988, allocations: 413.1 kB / 1.352 GB, free: 4.871 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003951/0.4028, allocations: 1.395 MB / 1.353 GB, free: 3.473 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.4047, allocations: 0.6701 MB / 1.354 GB, free: 2.805 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003461/0.4081, allocations: 2.171 MB / 1.356 GB, free: 0.625 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007642/0.4089, allocations: 465.5 kB / 1.356 GB, free: 156 kB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001967/0.4109, allocations: 0.9765 MB / 1.357 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007648/0.4116, allocations: 0.5287 MB / 1.358 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.901e-05/0.4117, allocations: 48 kB / 1.358 GB, free: 14.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002023/0.4137, allocations: 1.002 MB / 1.359 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.4139, allocations: 155.2 kB / 1.359 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003971/0.4143, allocations: 377.8 kB / 1.359 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001885/0.4162, allocations: 1.241 MB / 1.361 GB, free: 11.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4162, allocations: 0 / 1.361 GB, free: 11.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4162, allocations: 0 / 1.361 GB, free: 11.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.453e-05/0.4162, allocations: 0 / 1.361 GB, free: 11.82 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.001789/0.418, allocations: 1.091 MB / 1.362 GB, free: 10.7 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.418, allocations: 11.97 kB / 1.362 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.4182, allocations: 92.38 kB / 1.362 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.4197, allocations: 0.6976 MB / 1.363 GB, free: 9.871 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.4197, allocations: 29 kB / 1.363 GB, free: 9.844 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.085e-05/0.4198, allocations: 47.94 kB / 1.363 GB, free: 9.797 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005654/0.4203, allocations: 322.4 kB / 1.363 GB, free: 9.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4204, allocations: 0 / 1.363 GB, free: 9.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.4204, allocations: 16 kB / 1.363 GB, free: 9.465 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.4204, allocations: 8 kB / 1.363 GB, free: 9.457 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.4208, allocations: 243.8 kB / 1.363 GB, free: 9.219 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/0.4229, allocations: 1.415 MB / 1.365 GB, free: 7.684 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.4232, allocations: 130.5 kB / 1.365 GB, free: 7.547 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.4233, allocations: 106.1 kB / 1.365 GB, free: 7.441 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002592/0.4236, allocations: 75.94 kB / 1.365 GB, free: 7.367 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.935e-05/0.4236, allocations: 38.5 kB / 1.365 GB, free: 7.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.452e-06/0.4237, allocations: 4 kB / 1.365 GB, free: 7.316 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0005871/0.4242, allocations: 311.1 kB / 1.365 GB, free: 7.008 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.4243, allocations: 55.41 kB / 1.365 GB, free: 6.941 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009141/0.4252, allocations: 0.7274 MB / 1.366 GB, free: 6.203 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.4252, allocations: 29.7 kB / 1.366 GB, free: 6.168 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/0.4256, allocations: 368.2 kB / 1.366 GB, free: 5.805 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.125e-05/0.4257, allocations: 71.39 kB / 1.366 GB, free: 5.734 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.4258, allocations: 102.1 kB / 1.366 GB, free: 5.629 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.426, allocations: 318 kB / 1.367 GB, free: 5.312 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.4262, allocations: 110.5 kB / 1.367 GB, free: 5.203 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.4265, allocations: 275.8 kB / 1.367 GB, free: 4.859 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005323/0.427, allocations: 352 kB / 1.367 GB, free: 4.457 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4271, allocations: 4 kB / 1.367 GB, free: 4.453 MB / 1.061 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007274/0.4278, allocations: 440.6 kB / 1.368 GB, free: 4.016 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4278, allocations: 11.94 kB / 1.368 GB, free: 4.004 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.4278, allocations: 7.938 kB / 1.368 GB, free: 3.996 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.4278, allocations: 8.422 kB / 1.368 GB, free: 3.988 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004869/0.4327, allocations: 0.6788 MB / 1.369 GB, free: 3.309 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008922/0.4336, allocations: 1.203 MB / 1.37 GB, free: 2.059 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005196/0.4341, allocations: 55.84 kB / 1.37 GB, free: 2.004 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.753e-05/0.4342, allocations: 23.94 kB / 1.37 GB, free: 1.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003834/0.4345, allocations: 248.9 kB / 1.37 GB, free: 1.734 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003498/0.4349, allocations: 278.4 kB / 1.37 GB, free: 1.391 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005454/0.4354, allocations: 353.8 kB / 1.371 GB, free: 0.9805 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.298e-06/0.4354, allocations: 4 kB / 1.371 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000686/0.4361, allocations: 444.7 kB / 1.371 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.4361, allocations: 4 kB / 1.371 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.4361, allocations: 8 kB / 1.371 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.4362, allocations: 7.984 kB / 1.371 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004575/0.4407, allocations: 0.6869 MB / 1.372 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008469/0.4416, allocations: 1.203 MB / 1.373 GB, free: 14.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.442, allocations: 40.06 kB / 1.373 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.442, allocations: 16 kB / 1.373 GB, free: 14.52 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.0001976/0.4422, allocations: 212.1 kB / 1.373 GB, free: 14.31 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.4423, allocations: 71.53 kB / 1.373 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007028/0.4431, allocations: 394.9 kB / 1.374 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.4431, allocations: 3.984 kB / 1.374 GB, free: 13.83 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4431, allocations: 7.938 kB / 1.374 GB, free: 13.82 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.4431, allocations: 4 kB / 1.374 GB, free: 13.82 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.4445, allocations: 0.9795 MB / 1.375 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.4445, allocations: 8.031 kB / 1.375 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.95e-05/0.4446, allocations: 27.98 kB / 1.375 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.4446, allocations: 8 kB / 1.375 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.4446, allocations: 8 kB / 1.375 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.4446, allocations: 3.938 kB / 1.375 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4446, allocations: 4 kB / 1.375 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005705/0.4452, allocations: 469.7 kB / 1.375 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.4454, allocations: 99.42 kB / 1.375 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/0.4455, allocations: 15.92 kB / 1.375 GB, free: 12.1 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.4457, allocations: 8 kB / 1.375 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.4458, allocations: 24.14 kB / 1.375 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.4458, allocations: 8 kB / 1.375 GB, free: 12.06 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006347/0.4464, allocations: 0.5029 MB / 1.376 GB, free: 11.56 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4464, allocations: 0 / 1.376 GB, free: 11.56 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001132/0.4475, allocations: 395.1 kB / 1.376 GB, free: 11.17 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.0007812/0.4483, allocations: 377.3 kB / 1.377 GB, free: 10.8 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01441/0.4627, allocations: 2.211 MB / 1.379 GB, free: 8.586 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.4627, allocations: 0 / 1.379 GB, free: 8.586 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.4629, allocations: 119.9 kB / 1.379 GB, free: 8.469 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.4644, allocations: 290.8 kB / 1.379 GB, free: 8.191 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.4662, allocations: 1.104 MB / 1.38 GB, free: 7.035 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/0.4668, allocations: 0.9214 MB / 1.381 GB, free: 6.086 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004843/0.4672, allocations: 189.4 kB / 1.381 GB, free: 5.898 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.4674, allocations: 51.42 kB / 1.381 GB, free: 5.848 MB / 1.076 GB Notification: Performance of SimCode: time 4.71e-07/0.4674, allocations: 0 / 1.381 GB, free: 5.848 MB / 1.076 GB Notification: Performance of Templates: time 0.02658/0.4939, allocations: 13.96 MB / 1.395 GB, free: 8.055 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.668484149500728]