Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Templates.Components.Validation.Routing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Templates.Components.Validation.Routing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Templates.Components.Validation.Routing") translateModel(Buildings.Templates.Components.Validation.Routing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Templates.Components.Validation.Routing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 108.8 kB / 16.41 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 189.5 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.426/2.426, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 63.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6968/0.6988, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Routing): time 0.1111/0.8099, allocations: 113.9 MB / 1.279 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04978/0.8598, allocations: 29.53 MB / 1.307 GB, free: 3.941 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005859/0.8657, allocations: 139.1 kB / 1.307 GB, free: 3.805 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.006324/0.872, allocations: 1.339 MB / 1.309 GB, free: 2.457 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01633/0.8884, allocations: 3.545 MB / 1.312 GB, free: 14.9 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01189/0.9003, allocations: 2.586 MB / 1.315 GB, free: 12.34 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01302/0.9134, allocations: 10.27 MB / 1.325 GB, free: 2.043 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00586/0.9193, allocations: 4.225 MB / 1.329 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008155/0.9274, allocations: 3.955 MB / 1.333 GB, free: 9.785 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004691/0.9322, allocations: 2.867 MB / 1.336 GB, free: 6.906 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0008902/0.9331, allocations: 288 kB / 1.336 GB, free: 6.625 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004848/0.9379, allocations: 1.794 MB / 1.338 GB, free: 4.828 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.939, allocations: 0.8018 MB / 1.338 GB, free: 4.023 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002635/0.9416, allocations: 1.874 MB / 1.34 GB, free: 2.141 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006768/0.9484, allocations: 5.217 MB / 1.345 GB, free: 12.91 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9484, allocations: 8 kB / 1.345 GB, free: 12.9 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9484, allocations: 0 / 1.345 GB, free: 12.9 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.776e-05/0.9485, allocations: 0 / 1.345 GB, free: 12.9 MB / 1.076 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.005442/0.9539, allocations: 3.895 MB / 1.349 GB, free: 8.93 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.954, allocations: 12.92 kB / 1.349 GB, free: 8.918 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008168/0.9548, allocations: 417.5 kB / 1.35 GB, free: 8.508 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004307/0.9591, allocations: 2.737 MB / 1.352 GB, free: 5.703 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.9593, allocations: 172.2 kB / 1.352 GB, free: 5.531 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003224/0.9596, allocations: 231.9 kB / 1.353 GB, free: 5.305 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003859/0.9635, allocations: 2.597 MB / 1.355 GB, free: 2.598 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.637e-05/0.9635, allocations: 3.938 kB / 1.355 GB, free: 2.594 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.9637, allocations: 88 kB / 1.355 GB, free: 2.508 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.466e-05/0.9638, allocations: 56 kB / 1.355 GB, free: 2.453 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002934/0.9667, allocations: 1.948 MB / 1.357 GB, free: 0.5117 MB / 1.076 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.01271/0.9794, allocations: 10.32 MB / 1.367 GB, free: 5.555 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.9805, allocations: 0.7396 MB / 1.368 GB, free: 4.77 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007983/0.9813, allocations: 0.5952 MB / 1.369 GB, free: 4.164 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001389/0.9827, allocations: 1.9 MB / 1.37 GB, free: 1.84 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.9828, allocations: 54.72 kB / 1.37 GB, free: 1.777 MB / 1.092 GB Notification: Performance of pre-optimization done (n=89): time 3.376e-06/0.9828, allocations: 0 / 1.37 GB, free: 1.777 MB / 1.092 GB Notification: Performance of matching and sorting (n=89): time 0.004901/0.9877, allocations: 2.048 MB / 1.372 GB, free: 15.7 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.263e-05/0.9878, allocations: 170.1 kB / 1.373 GB, free: 15.5 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003857/0.9917, allocations: 2.695 MB / 1.375 GB, free: 12.79 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.9918, allocations: 53.7 kB / 1.375 GB, free: 12.73 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001122/0.9929, allocations: 1.384 MB / 1.377 GB, free: 11.34 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.9933, allocations: 341.1 kB / 1.377 GB, free: 11 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003866/0.9937, allocations: 255.2 kB / 1.377 GB, free: 10.75 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.9938, allocations: 354.3 kB / 1.378 GB, free: 10.4 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007121/0.9945, allocations: 466.7 kB / 1.378 GB, free: 9.938 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.9957, allocations: 1.004 MB / 1.379 GB, free: 8.719 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/0.9974, allocations: 1.29 MB / 1.38 GB, free: 7.316 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.9975, allocations: 11.94 kB / 1.38 GB, free: 7.305 MB / 1.107 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00337/1.001, allocations: 1.72 MB / 1.382 GB, free: 5.574 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/1.001, allocations: 8 kB / 1.382 GB, free: 5.566 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/1.001, allocations: 8 kB / 1.382 GB, free: 5.559 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/1.002, allocations: 264.9 kB / 1.382 GB, free: 5.297 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00238/1.004, allocations: 459.2 kB / 1.383 GB, free: 4.848 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004536/1.009, allocations: 6.914 MB / 1.389 GB, free: 13.68 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/1.011, allocations: 190.9 kB / 1.39 GB, free: 13.49 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/1.011, allocations: 68.06 kB / 1.39 GB, free: 13.42 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001764/1.013, allocations: 1.107 MB / 1.391 GB, free: 12.31 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00113/1.014, allocations: 0.9413 MB / 1.392 GB, free: 11.16 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001515/1.015, allocations: 1.169 MB / 1.393 GB, free: 9.875 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.871e-06/1.015, allocations: 0 / 1.393 GB, free: 9.875 MB / 1.123 GB Notification: Performance of matching and sorting (n=132) (initialization_lambda0): time 0.002791/1.018, allocations: 1.542 MB / 1.394 GB, free: 8.324 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.018, allocations: 12.31 kB / 1.394 GB, free: 8.312 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/1.018, allocations: 16 kB / 1.394 GB, free: 8.297 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003845/1.019, allocations: 136.8 kB / 1.394 GB, free: 8.16 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000859/1.019, allocations: 251.6 kB / 1.395 GB, free: 7.914 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/1.022, allocations: 2.464 MB / 1.397 GB, free: 5.32 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/1.024, allocations: 156.1 kB / 1.397 GB, free: 5.168 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/1.024, allocations: 51.98 kB / 1.397 GB, free: 5.117 MB / 1.123 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.0003567/1.025, allocations: 272.9 kB / 1.398 GB, free: 4.844 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007016/1.025, allocations: 290.2 kB / 1.398 GB, free: 4.559 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003019/1.028, allocations: 1.638 MB / 1.399 GB, free: 2.914 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001711/1.03, allocations: 1.434 MB / 1.401 GB, free: 1.359 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.03, allocations: 0 / 1.401 GB, free: 1.359 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000963/1.031, allocations: 0.4989 MB / 1.401 GB, free: 0.8398 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004243/1.032, allocations: 23.98 kB / 1.401 GB, free: 0.8164 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/1.033, allocations: 59.92 kB / 1.401 GB, free: 0.7578 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/1.033, allocations: 75.77 kB / 1.401 GB, free: 0.6836 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003142/1.036, allocations: 1.922 MB / 1.403 GB, free: 14.72 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003079/1.039, allocations: 2.513 MB / 1.406 GB, free: 12.18 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007276/1.04, allocations: 0.5448 MB / 1.406 GB, free: 11.64 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002973/1.043, allocations: 1.861 MB / 1.408 GB, free: 9.781 MB / 1.139 GB Notification: Performance of Backend: time 5.11e-07/1.043, allocations: 0 / 1.408 GB, free: 9.781 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007489/1.051, allocations: 2.498 MB / 1.411 GB, free: 7.277 MB / 1.139 GB Notification: Performance of SimCode: time 0.01238/1.063, allocations: 6.823 MB / 1.417 GB, free: 444 kB / 1.139 GB Notification: Performance of Templates: time 0.08553/1.149, allocations: 55.22 MB / 1.471 GB, free: 9.766 MB / 1.201 GB make -j1 -f Buildings_10_Buildings.Templates.Components.Validation.Routing.makefile (rm -f Buildings_10_Buildings.Templates.Components.Validation.Routing.pipe ; mkfifo Buildings_10_Buildings.Templates.Components.Validation.Routing.pipe ; head -c 1048576 < Buildings_10_Buildings.Templates.Components.Validation.Routing.pipe >> ../files/Buildings_10_Buildings.Templates.Components.Validation.Routing.sim & ./Buildings_10_Buildings.Templates.Components.Validation.Routing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Templates.Components.Validation.Routing.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Templates.Components.Validation.Routing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Templates_Components_Validation_Routing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Templates.Components.Validation.Routing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches