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.001385/0.001385, allocations: 118.3 kB / 16.42 MB, free: 6.48 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.001332/0.001332, allocations: 185.7 kB / 17.34 MB, free: 5.746 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.357/1.357, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.505/2.505, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 55.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6835/0.6847, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Routing): time 0.1046/0.7893, allocations: 113.9 MB / 1.279 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03713/0.8265, allocations: 29.55 MB / 1.307 GB, free: 3.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004083/0.8306, allocations: 139.1 kB / 1.307 GB, free: 3.793 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003292/0.8339, allocations: 1.327 MB / 1.309 GB, free: 2.457 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008736/0.8427, allocations: 3.545 MB / 1.312 GB, free: 14.9 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006462/0.8492, allocations: 2.588 MB / 1.315 GB, free: 12.34 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01237/0.8616, allocations: 10.26 MB / 1.325 GB, free: 2.043 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00638/0.868, allocations: 4.222 MB / 1.329 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008561/0.8766, allocations: 3.948 MB / 1.333 GB, free: 9.793 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004885/0.8815, allocations: 2.874 MB / 1.336 GB, free: 6.906 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001016/0.8825, allocations: 288 kB / 1.336 GB, free: 6.625 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005056/0.8876, allocations: 1.798 MB / 1.338 GB, free: 4.824 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.8889, allocations: 0.794 MB / 1.338 GB, free: 4.027 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003373/0.8923, allocations: 1.878 MB / 1.34 GB, free: 2.141 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008221/0.9005, allocations: 5.223 MB / 1.345 GB, free: 12.9 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.9005, allocations: 0 / 1.345 GB, free: 12.9 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9005, allocations: 0 / 1.345 GB, free: 12.9 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001526/0.9007, 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.006964/0.9077, allocations: 3.896 MB / 1.349 GB, free: 8.93 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.9077, allocations: 8.922 kB / 1.349 GB, free: 8.922 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.9088, allocations: 417.5 kB / 1.35 GB, free: 8.512 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004916/0.9138, allocations: 2.733 MB / 1.352 GB, free: 5.711 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.9139, allocations: 180.2 kB / 1.352 GB, free: 5.531 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003722/0.9143, allocations: 239.9 kB / 1.353 GB, free: 5.297 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004286/0.9186, allocations: 2.589 MB / 1.355 GB, free: 2.598 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.257e-05/0.9187, allocations: 3.938 kB / 1.355 GB, free: 2.594 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00019/0.9188, allocations: 88 kB / 1.355 GB, free: 2.508 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-05/0.9189, allocations: 56 kB / 1.355 GB, free: 2.453 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003084/0.922, 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.01335/0.9354, allocations: 10.32 MB / 1.367 GB, free: 5.551 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.9365, allocations: 0.7335 MB / 1.368 GB, free: 4.773 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007941/0.9373, allocations: 0.5952 MB / 1.369 GB, free: 4.164 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/0.9386, allocations: 1.896 MB / 1.37 GB, free: 1.844 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.9387, allocations: 54.78 kB / 1.37 GB, free: 1.781 MB / 1.092 GB Notification: Performance of pre-optimization done (n=89): time 3.236e-06/0.9387, allocations: 4 kB / 1.37 GB, free: 1.777 MB / 1.092 GB Notification: Performance of matching and sorting (n=89): time 0.004913/0.9436, allocations: 2.044 MB / 1.372 GB, free: 15.71 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.9437, allocations: 170.2 kB / 1.373 GB, free: 15.5 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0038/0.9475, allocations: 2.695 MB / 1.375 GB, free: 12.8 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000153/0.9477, allocations: 53.7 kB / 1.375 GB, free: 12.74 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.9488, allocations: 1.392 MB / 1.377 GB, free: 11.34 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003/0.9491, allocations: 325.2 kB / 1.377 GB, free: 11.02 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003978/0.9495, allocations: 263.2 kB / 1.377 GB, free: 10.75 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.9496, allocations: 345.9 kB / 1.378 GB, free: 10.41 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007097/0.9503, allocations: 470.7 kB / 1.378 GB, free: 9.945 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.9515, allocations: 1.008 MB / 1.379 GB, free: 8.723 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/0.9532, allocations: 1.286 MB / 1.38 GB, free: 7.324 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.9532, allocations: 4 kB / 1.38 GB, free: 7.32 MB / 1.107 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003434/0.9567, allocations: 1.736 MB / 1.382 GB, free: 5.574 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.9567, allocations: 10.66 kB / 1.382 GB, free: 5.566 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.9567, allocations: 12 kB / 1.382 GB, free: 5.555 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.9578, allocations: 249.6 kB / 1.382 GB, free: 5.309 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/0.9602, allocations: 471.2 kB / 1.383 GB, free: 4.848 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004253/0.9644, allocations: 6.912 MB / 1.389 GB, free: 13.68 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.9664, allocations: 199.1 kB / 1.39 GB, free: 13.48 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.9665, allocations: 63.97 kB / 1.39 GB, free: 13.42 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001728/0.9683, allocations: 1.104 MB / 1.391 GB, free: 12.32 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001054/0.9693, allocations: 0.949 MB / 1.392 GB, free: 11.15 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001494/0.9708, allocations: 1.173 MB / 1.393 GB, free: 9.867 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.819e-06/0.9709, allocations: 0 / 1.393 GB, free: 9.867 MB / 1.123 GB Notification: Performance of matching and sorting (n=132) (initialization_lambda0): time 0.002846/0.9737, allocations: 1.53 MB / 1.394 GB, free: 8.328 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.9737, allocations: 15.94 kB / 1.394 GB, free: 8.312 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.9738, allocations: 8 kB / 1.394 GB, free: 8.305 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000394/0.9742, allocations: 145.1 kB / 1.394 GB, free: 8.16 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008581/0.975, allocations: 251.6 kB / 1.395 GB, free: 7.914 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/0.9777, allocations: 2.465 MB / 1.397 GB, free: 5.316 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.9796, allocations: 156.2 kB / 1.397 GB, free: 5.164 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.9797, allocations: 55.98 kB / 1.397 GB, free: 5.109 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.0004108/0.9802, allocations: 265.9 kB / 1.398 GB, free: 4.844 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007612/0.9809, allocations: 286.2 kB / 1.398 GB, free: 4.562 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/0.9839, allocations: 1.629 MB / 1.399 GB, free: 2.926 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001711/0.9856, allocations: 1.445 MB / 1.401 GB, free: 1.363 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.9856, allocations: 0 / 1.401 GB, free: 1.363 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.9866, allocations: 0.5067 MB / 1.401 GB, free: 0.8359 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004299/0.9871, allocations: 16 kB / 1.401 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/0.9885, allocations: 67.86 kB / 1.401 GB, free: 0.7539 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.9887, allocations: 83.75 kB / 1.401 GB, free: 0.6719 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003133/0.9918, allocations: 1.926 MB / 1.403 GB, free: 14.7 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003116/0.9949, allocations: 2.512 MB / 1.406 GB, free: 12.17 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007057/0.9956, allocations: 0.5376 MB / 1.406 GB, free: 11.64 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002851/0.9985, allocations: 1.864 MB / 1.408 GB, free: 9.773 MB / 1.139 GB Notification: Performance of Backend: time 6.01e-07/0.9985, allocations: 0 / 1.408 GB, free: 9.773 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007689/1.006, allocations: 2.485 MB / 1.411 GB, free: 7.281 MB / 1.139 GB Notification: Performance of SimCode: time 0.01196/1.018, allocations: 6.831 MB / 1.417 GB, free: 436 kB / 1.139 GB Notification: Performance of Templates: time 0.08597/1.104, allocations: 55.21 MB / 1.471 GB, free: 9.762 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