Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Examples.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.001981/0.001981, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.003005/0.003005, allocations: 215.5 kB / 23 MB, free: 4.969 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.662/1.662, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.511/3.511, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.Examples.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pip.vol.1..T|pip.vol.5..T|pip.vol.10..T",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pip.vol.1..T|pip.vol.5..T|pip.vol.10..T",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Examples.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.002051/0.002051, allocations: 76.78 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4771/0.4792, allocations: 176.1 MB / 1.327 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.05385/0.533, allocations: 42.58 MB / 1.369 GB, free: 6.336 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02/0.553, allocations: 10.75 MB / 1.379 GB, free: 11.57 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002839/0.5559, allocations: 87.25 kB / 1.379 GB, free: 11.48 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002269/0.5582, allocations: 0.683 MB / 1.38 GB, free: 10.79 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008022/0.5662, allocations: 2.389 MB / 1.382 GB, free: 8.395 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005305/0.5715, allocations: 1.554 MB / 1.384 GB, free: 6.852 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.02937/0.6008, allocations: 23.52 MB / 1.407 GB, free: 15.27 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01194/0.6128, allocations: 6.281 MB / 1.413 GB, free: 8.887 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01994/0.6327, allocations: 7.909 MB / 1.421 GB, free: 1.012 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01327/0.646, allocations: 6.357 MB / 1.427 GB, free: 10.63 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.003515/0.6495, allocations: 0.8164 MB / 1.428 GB, free: 9.812 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009571/0.6591, allocations: 1.815 MB / 1.429 GB, free: 7.996 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.005156/0.6642, allocations: 2.18 MB / 1.431 GB, free: 5.809 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.01189/0.6761, allocations: 3.645 MB / 1.435 GB, free: 2.148 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.02417/0.7003, allocations: 13.18 MB / 1.448 GB, free: 4.926 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/0.7003, allocations: 4 kB / 1.448 GB, free: 4.922 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.235e-06/0.7003, allocations: 4 kB / 1.448 GB, free: 4.918 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0005145/0.7008, allocations: 0 / 1.448 GB, free: 4.918 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.02951/0.7303, allocations: 8.39 MB / 1.456 GB, free: 12.45 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/0.7304, allocations: 8.031 kB / 1.456 GB, free: 12.44 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006905/0.7373, allocations: 0.9721 MB / 1.457 GB, free: 11.46 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02221/0.7595, allocations: 7.896 MB / 1.465 GB, free: 3.469 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007319/0.7602, allocations: 441.6 kB / 1.465 GB, free: 3.023 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002667/0.7629, allocations: 0.5116 MB / 1.466 GB, free: 2.512 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02513/0.788, allocations: 9.231 MB / 1.475 GB, free: 8.609 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000316/0.7884, allocations: 31.81 kB / 1.475 GB, free: 8.578 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002082/0.7904, allocations: 224 kB / 1.475 GB, free: 8.359 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002627/0.7907, allocations: 163.8 kB / 1.475 GB, free: 8.199 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01536/0.8061, allocations: 6.055 MB / 1.481 GB, free: 2.129 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04906/0.8551, allocations: 22.86 MB / 1.503 GB, free: 10.88 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005719/0.8608, allocations: 3.211 MB / 1.506 GB, free: 7.672 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002852/0.8637, allocations: 1.815 MB / 1.508 GB, free: 5.855 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007716/0.8645, allocations: 161.8 kB / 1.508 GB, free: 5.699 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.8646, allocations: 77.06 kB / 1.508 GB, free: 5.613 MB / 1.201 GB Notification: Performance of pre-optimization done (n=253): time 5.531e-06/0.8646, allocations: 0 / 1.508 GB, free: 5.613 MB / 1.201 GB Notification: Performance of matching and sorting (n=253): time 0.009345/0.8739, allocations: 4.648 MB / 1.513 GB, free: 0.9609 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.874, allocations: 77.41 kB / 1.513 GB, free: 0.875 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01038/0.8844, allocations: 5.48 MB / 1.518 GB, free: 11.41 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000788/0.8852, allocations: 89.64 kB / 1.519 GB, free: 11.31 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.003242/0.8884, allocations: 3.045 MB / 1.522 GB, free: 8.242 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001845/0.8903, allocations: 0.9413 MB / 1.522 GB, free: 7.293 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/0.8915, allocations: 0.6951 MB / 1.523 GB, free: 6.59 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.8916, allocations: 301.1 kB / 1.523 GB, free: 6.293 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002841/0.8945, allocations: 1.641 MB / 1.525 GB, free: 4.645 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003893/0.8984, allocations: 2.854 MB / 1.528 GB, free: 1.297 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006949/0.9053, allocations: 4.591 MB / 1.532 GB, free: 12.24 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.479e-05/0.9053, allocations: 11.94 kB / 1.532 GB, free: 12.23 MB / 1.232 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009843/0.9152, allocations: 4.914 MB / 1.537 GB, free: 7.266 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.462e-05/0.9152, allocations: 20 kB / 1.537 GB, free: 7.246 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-05/0.9153, allocations: 32.78 kB / 1.537 GB, free: 7.215 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.227e-05/0.9153, allocations: 52 kB / 1.537 GB, free: 7.164 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003058/0.9184, allocations: 0.8034 MB / 1.538 GB, free: 6.359 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000998/0.9194, allocations: 1.234 MB / 1.539 GB, free: 5.078 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004889/0.9243, allocations: 453.4 kB / 1.54 GB, free: 4.633 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003676/0.9247, allocations: 152 kB / 1.54 GB, free: 4.484 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00824/0.9329, allocations: 3.902 MB / 1.544 GB, free: 0.5742 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005134/0.938, allocations: 2.862 MB / 1.546 GB, free: 13.22 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00694/0.945, allocations: 4.59 MB / 1.551 GB, free: 8.168 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.807e-05/0.945, allocations: 8 kB / 1.551 GB, free: 8.16 MB / 1.248 GB Notification: Performance of matching and sorting (n=436) (initialization_lambda0): time 0.00979/0.9548, allocations: 4.907 MB / 1.556 GB, free: 3.207 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.9548, allocations: 16 kB / 1.556 GB, free: 3.191 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.256e-05/0.9549, allocations: 32 kB / 1.556 GB, free: 3.16 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.282e-05/0.9549, allocations: 55.94 kB / 1.556 GB, free: 3.105 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00277/0.9577, allocations: 0.7687 MB / 1.556 GB, free: 2.336 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.105e-05/0.9578, allocations: 75.73 kB / 1.557 GB, free: 2.262 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004851/0.9626, allocations: 397.7 kB / 1.557 GB, free: 1.875 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004347/0.9631, allocations: 160 kB / 1.557 GB, free: 1.719 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (436): * Single equations (assignments): 434 * 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.001258/0.9643, allocations: 407.1 kB / 1.557 GB, free: 1.312 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002102/0.9664, allocations: 0.5163 MB / 1.558 GB, free: 0.793 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007371/0.9738, allocations: 3.846 MB / 1.562 GB, free: 12.89 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00502/0.9788, allocations: 2.994 MB / 1.565 GB, free: 9.844 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.9788, allocations: 0 / 1.565 GB, free: 9.844 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004885/0.9837, allocations: 1.142 MB / 1.566 GB, free: 8.699 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002015/0.9857, allocations: 63.98 kB / 1.566 GB, free: 8.637 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004253/0.99, allocations: 203.6 kB / 1.566 GB, free: 8.438 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004424/0.9904, allocations: 161.7 kB / 1.566 GB, free: 8.277 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008113/0.9985, allocations: 3.808 MB / 1.57 GB, free: 4.41 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01106/1.01, allocations: 6.19 MB / 1.576 GB, free: 14.13 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002558/1.012, allocations: 1.566 MB / 1.577 GB, free: 12.55 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.008159/1.02, allocations: 3.809 MB / 1.581 GB, free: 8.754 MB / 1.279 GB Notification: Performance of Backend: time 5.91e-07/1.02, allocations: 0 / 1.581 GB, free: 8.754 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01455/1.035, allocations: 4.982 MB / 1.586 GB, free: 3.773 MB / 1.279 GB Notification: Performance of SimCode: time 0.04177/1.077, allocations: 15.75 MB / 1.601 GB, free: 4.07 MB / 1.295 GB Notification: Performance of Templates: time 1.149/2.225, allocations: 143.2 MB / 1.741 GB, free: 150.4 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Examples_Pipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.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: 15.048920927998552]