Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.001788/0.001788, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002279/0.002279, allocations: 205.5 kB / 23 MB, free: 4.934 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.638/1.638, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.452/3.452, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [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.002095/0.002095, allocations: 67.84 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4811/0.4832, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2563/0.7395, allocations: 153.1 MB / 1.477 GB, free: 7.379 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.004221/0.7437, allocations: 1.753 MB / 1.478 GB, free: 5.621 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005912/0.7443, allocations: 19.81 kB / 1.478 GB, free: 5.602 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009422/0.7453, allocations: 222.5 kB / 1.478 GB, free: 5.383 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002653/0.7479, allocations: 0.7662 MB / 1.479 GB, free: 4.613 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002897/0.7508, allocations: 0.8716 MB / 1.48 GB, free: 3.742 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00161/0.7524, allocations: 0.8573 MB / 1.481 GB, free: 2.883 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005573/0.753, allocations: 231.6 kB / 1.481 GB, free: 2.652 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.7545, allocations: 0.5956 MB / 1.482 GB, free: 2.055 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004384/0.755, allocations: 270.9 kB / 1.482 GB, free: 1.789 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.845e-05/0.755, allocations: 31.94 kB / 1.482 GB, free: 1.758 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.7572, allocations: 0.8999 MB / 1.483 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002052/0.7574, allocations: 127.6 kB / 1.483 GB, free: 0.7305 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002354/0.7576, allocations: 167.3 kB / 1.483 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.7595, allocations: 0.8799 MB / 1.484 GB, free: 15.68 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.7595, allocations: 0 / 1.484 GB, free: 15.68 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7595, allocations: 0 / 1.484 GB, free: 15.68 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.571e-05/0.7595, allocations: 4 kB / 1.484 GB, free: 15.68 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.002151/0.7617, allocations: 0.7223 MB / 1.485 GB, free: 14.93 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/0.7617, allocations: 8.031 kB / 1.485 GB, free: 14.92 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.7629, allocations: 159.5 kB / 1.485 GB, free: 14.76 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008297/0.7637, allocations: 303.6 kB / 1.485 GB, free: 14.44 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.7637, allocations: 24.66 kB / 1.485 GB, free: 14.41 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.277e-05/0.7638, allocations: 28 kB / 1.485 GB, free: 14.39 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008597/0.7647, allocations: 399.5 kB / 1.486 GB, free: 13.97 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.7647, allocations: 0 / 1.486 GB, free: 13.97 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/0.7647, allocations: 12 kB / 1.486 GB, free: 13.96 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.384e-05/0.7647, allocations: 20.59 kB / 1.486 GB, free: 13.94 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000775/0.7655, allocations: 342.3 kB / 1.486 GB, free: 13.61 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.7677, allocations: 1.222 MB / 1.487 GB, free: 12.33 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.7683, allocations: 230.6 kB / 1.487 GB, free: 12.09 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.7686, allocations: 141.8 kB / 1.488 GB, free: 11.95 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005106/0.7691, allocations: 67.92 kB / 1.488 GB, free: 11.89 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.7691, allocations: 30.56 kB / 1.488 GB, free: 11.85 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.7691, allocations: 4 kB / 1.488 GB, free: 11.84 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.001126/0.7703, allocations: 378.6 kB / 1.488 GB, free: 11.47 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.7703, allocations: 55.41 kB / 1.488 GB, free: 11.4 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003718/0.7707, allocations: 268.2 kB / 1.488 GB, free: 11.14 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.7707, allocations: 29.7 kB / 1.488 GB, free: 11.1 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.7709, allocations: 208.5 kB / 1.489 GB, free: 10.89 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.312e-05/0.771, allocations: 75.39 kB / 1.489 GB, free: 10.82 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.7711, allocations: 45.69 kB / 1.489 GB, free: 10.77 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.7713, allocations: 338.8 kB / 1.489 GB, free: 10.43 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.7716, allocations: 91.92 kB / 1.489 GB, free: 10.34 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.7719, allocations: 234.3 kB / 1.489 GB, free: 10.07 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005327/0.7724, allocations: 255.2 kB / 1.49 GB, free: 9.801 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7724, allocations: 0 / 1.49 GB, free: 9.801 MB / 1.186 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006428/0.7731, allocations: 302.7 kB / 1.49 GB, free: 9.5 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.7731, allocations: 4.188 kB / 1.49 GB, free: 9.496 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.7731, allocations: 8 kB / 1.49 GB, free: 9.488 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.7731, allocations: 4 kB / 1.49 GB, free: 9.484 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.7734, allocations: 47.91 kB / 1.49 GB, free: 9.438 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.7734, allocations: 0 / 1.49 GB, free: 9.438 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.7737, allocations: 27.88 kB / 1.49 GB, free: 9.41 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.7737, allocations: 15.98 kB / 1.49 GB, free: 9.395 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * 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.0002216/0.7739, allocations: 157.7 kB / 1.49 GB, free: 9.23 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.465e-05/0.774, allocations: 31.81 kB / 1.49 GB, free: 9.199 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007027/0.7747, allocations: 297.2 kB / 1.49 GB, free: 8.898 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.7747, allocations: 3.938 kB / 1.49 GB, free: 8.895 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.7747, allocations: 0 / 1.49 GB, free: 8.895 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.7748, allocations: 43.8 kB / 1.49 GB, free: 8.852 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.7749, allocations: 8 kB / 1.49 GB, free: 8.844 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.7751, allocations: 19.92 kB / 1.49 GB, free: 8.824 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.7752, allocations: 15.91 kB / 1.49 GB, free: 8.809 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000702/0.7759, allocations: 344.7 kB / 1.491 GB, free: 8.465 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006944/0.7766, allocations: 444.5 kB / 1.491 GB, free: 8.016 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002363/0.7768, allocations: 95.92 kB / 1.491 GB, free: 7.922 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000261/0.777, allocations: 195.1 kB / 1.492 GB, free: 7.73 MB / 1.186 GB Notification: Performance of Backend: time 4.41e-07/0.7771, allocations: 0 / 1.492 GB, free: 7.73 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.7787, allocations: 453.7 kB / 1.492 GB, free: 7.285 MB / 1.186 GB Notification: Performance of SimCode: time 0.001801/0.7805, allocations: 1.034 MB / 1.493 GB, free: 6.199 MB / 1.186 GB Notification: Performance of Templates: time 0.01874/0.7992, allocations: 8.745 MB / 1.501 GB, free: 13.56 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.859824622995802]