Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Components.Validation.Routing.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.001577/0.001577, 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.001944/0.001944, allocations: 209.2 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.157/3.157, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.Templates.Components.Validation.Routing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMul.ports_a.1..m_flow|mulMul.ports_b.1..m_flow|mulMul.m_flow_nominal|mulMulCom.ports_a.1..m_flow|mulMulCom.ports_b.1..m_flow|mulMulCom.m_flow_nominal|mulSin.ports_a.1..m_flow|mulSin.port_b.m_flow|mulSin.m_flow_nominal|sinMul.port_a.m_flow|sinMul.ports_b.1..m_flow|sinMul.m_flow_nominal|pas.port_a.m_flow",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Validation.Routing") translateModel(Buildings.Templates.Components.Validation.Routing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMul.ports_a.1..m_flow|mulMul.ports_b.1..m_flow|mulMul.m_flow_nominal|mulMulCom.ports_a.1..m_flow|mulMulCom.ports_b.1..m_flow|mulMulCom.m_flow_nominal|mulSin.ports_a.1..m_flow|mulSin.port_b.m_flow|mulSin.m_flow_nominal|sinMul.port_a.m_flow|sinMul.ports_b.1..m_flow|sinMul.m_flow_nominal|pas.port_a.m_flow",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Validation.Routing") [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.002066/0.002066, allocations: 71.44 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3159, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Routing): time 0.1209/0.4368, allocations: 105.2 MB / 1.43 GB, free: 7.434 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.04091/0.4778, allocations: 27.59 MB / 1.457 GB, free: 11.77 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00396/0.4817, allocations: 194.3 kB / 1.457 GB, free: 11.58 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.003351/0.4851, allocations: 1.323 MB / 1.458 GB, free: 10.25 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.009801/0.4949, allocations: 3.576 MB / 1.462 GB, free: 6.66 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.007461/0.5023, allocations: 2.678 MB / 1.464 GB, free: 4.008 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0136/0.5159, allocations: 10.42 MB / 1.475 GB, free: 9.547 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004822/0.5207, allocations: 2.953 MB / 1.477 GB, free: 6.512 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009826/0.5306, allocations: 4.483 MB / 1.482 GB, free: 2.02 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005605/0.5362, allocations: 2.948 MB / 1.485 GB, free: 15.06 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0007278/0.5369, allocations: 292 kB / 1.485 GB, free: 14.77 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004523/0.5414, allocations: 1.513 MB / 1.486 GB, free: 13.26 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0009608/0.5424, allocations: 0.8363 MB / 1.487 GB, free: 12.42 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002344/0.5447, allocations: 1.552 MB / 1.489 GB, free: 10.86 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.007142/0.5519, allocations: 5.294 MB / 1.494 GB, free: 5.547 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5519, allocations: 0 / 1.494 GB, free: 5.547 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5519, allocations: 0 / 1.494 GB, free: 5.547 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.243e-05/0.5519, allocations: 0 / 1.494 GB, free: 5.547 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: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.006094/0.558, allocations: 3.88 MB / 1.498 GB, free: 1.609 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.5581, allocations: 12.03 kB / 1.498 GB, free: 1.598 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000907/0.559, allocations: 433.4 kB / 1.498 GB, free: 1.172 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005537/0.5645, allocations: 2.705 MB / 1.501 GB, free: 14.39 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.5647, allocations: 172.2 kB / 1.501 GB, free: 14.22 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003496/0.565, allocations: 228 kB / 1.501 GB, free: 14 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004539/0.5696, allocations: 2.816 MB / 1.504 GB, free: 11.02 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.816e-05/0.5696, allocations: 0 / 1.504 GB, free: 11.02 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002051/0.5698, allocations: 95.92 kB / 1.504 GB, free: 10.93 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.376e-05/0.5699, allocations: 56 kB / 1.504 GB, free: 10.87 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003319/0.5732, allocations: 1.944 MB / 1.506 GB, free: 8.93 MB / 1.201 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.013/0.5862, allocations: 7.176 MB / 1.513 GB, free: 1.633 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.5874, allocations: 0.7005 MB / 1.514 GB, free: 0.8867 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008026/0.5882, allocations: 0.5505 MB / 1.514 GB, free: 332 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005937/0.5888, allocations: 184.1 kB / 1.514 GB, free: 148 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.5888, allocations: 46.83 kB / 1.514 GB, free: 92 kB / 1.201 GB Notification: Performance of pre-optimization done (n=89): time 3.477e-06/0.5888, allocations: 4 kB / 1.514 GB, free: 88 kB / 1.201 GB Notification: Performance of matching and sorting (n=89): time 0.005199/0.594, allocations: 1.932 MB / 1.516 GB, free: 14.15 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.5941, allocations: 174.1 kB / 1.516 GB, free: 13.94 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003474/0.5976, allocations: 2.4 MB / 1.519 GB, free: 11.53 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000168/0.5978, allocations: 53.7 kB / 1.519 GB, free: 11.47 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001303/0.5991, allocations: 1.421 MB / 1.52 GB, free: 10.04 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000361/0.5994, allocations: 333.2 kB / 1.521 GB, free: 9.711 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004329/0.5999, allocations: 267.1 kB / 1.521 GB, free: 9.441 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.6, allocations: 357.9 kB / 1.521 GB, free: 9.086 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007513/0.6008, allocations: 462.7 kB / 1.522 GB, free: 8.633 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/0.6029, allocations: 2.317 MB / 1.524 GB, free: 5.781 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/0.6048, allocations: 1.282 MB / 1.525 GB, free: 4.387 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.6048, allocations: 4 kB / 1.525 GB, free: 4.383 MB / 1.217 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003656/0.6084, allocations: 1.705 MB / 1.527 GB, free: 2.668 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.6084, allocations: 12 kB / 1.527 GB, free: 2.656 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.6085, allocations: 8 kB / 1.527 GB, free: 2.648 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.6096, allocations: 248.7 kB / 1.527 GB, free: 2.402 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/0.6121, allocations: 463.3 kB / 1.527 GB, free: 1.949 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005255/0.6173, allocations: 6.904 MB / 1.534 GB, free: 10.78 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.6191, allocations: 156 kB / 1.534 GB, free: 10.63 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.6192, allocations: 55.98 kB / 1.534 GB, free: 10.57 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001857/0.6211, allocations: 1.119 MB / 1.536 GB, free: 9.449 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001961/0.623, allocations: 2.266 MB / 1.538 GB, free: 6.648 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00167/0.6247, allocations: 1.165 MB / 1.539 GB, free: 5.371 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.086e-06/0.6247, allocations: 11.88 kB / 1.539 GB, free: 5.359 MB / 1.232 GB Notification: Performance of matching and sorting (n=132) (initialization_lambda0): time 0.002833/0.6275, allocations: 1.5 MB / 1.54 GB, free: 3.848 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.6275, allocations: 8 kB / 1.54 GB, free: 3.84 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.6276, allocations: 8 kB / 1.54 GB, free: 3.832 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004168/0.628, allocations: 152 kB / 1.541 GB, free: 3.684 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009125/0.6289, allocations: 247.6 kB / 1.541 GB, free: 3.441 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00293/0.6318, allocations: 2.297 MB / 1.543 GB, free: 1.047 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.6334, allocations: 164 kB / 1.543 GB, free: 0.8867 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.6335, allocations: 60.17 kB / 1.543 GB, free: 0.8281 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (120): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 1 * 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): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003683/0.6339, allocations: 258.5 kB / 1.543 GB, free: 0.5703 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004781/0.6344, allocations: 258.3 kB / 1.544 GB, free: 324 kB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/0.6373, allocations: 1.608 MB / 1.545 GB, free: 14.7 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001896/0.6392, allocations: 1.45 MB / 1.547 GB, free: 13.13 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.6392, allocations: 4 kB / 1.547 GB, free: 13.12 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.6403, allocations: 413.3 kB / 1.547 GB, free: 12.72 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002509/0.6405, allocations: 27.88 kB / 1.547 GB, free: 12.69 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.6417, allocations: 67.91 kB / 1.547 GB, free: 12.62 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.6418, allocations: 75.84 kB / 1.547 GB, free: 12.55 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003302/0.6451, allocations: 1.93 MB / 1.549 GB, free: 10.58 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003183/0.6483, allocations: 2.498 MB / 1.552 GB, free: 8.059 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007783/0.6491, allocations: 0.5158 MB / 1.552 GB, free: 7.547 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002438/0.6515, allocations: 1.642 MB / 1.554 GB, free: 5.898 MB / 1.248 GB Notification: Performance of Backend: time 6.01e-07/0.6515, allocations: 0 / 1.554 GB, free: 5.898 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.007599/0.6591, allocations: 2.38 MB / 1.556 GB, free: 3.504 MB / 1.248 GB Notification: Performance of SimCode: time 0.01143/0.6705, allocations: 6.514 MB / 1.562 GB, free: 12.96 MB / 1.264 GB Notification: Performance of Templates: time 0.6926/1.363, allocations: 56.71 MB / 1.618 GB, free: 137.5 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Templates.Components.Validation.Routing.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Validation.Routing.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Validation.Routing.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Validation.Routing.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Validation.Routing.sim & ./Buildings_12_Buildings.Templates.Components.Validation.Routing -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Validation.Routing.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Validation.Routing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Validation_Routing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Components.Validation.Routing.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.986013016998186]