Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001273/0.001277, allocations: 120 kB / 16.42 MB, free: 6.496 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.001225/0.001225, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.296/1.296, 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 11.0.1-master/package.mo): time 2.482/2.482, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 56.12 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6986/0.6998, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Routing): time 0.1027/0.8026, allocations: 113.9 MB / 1.32 GB, free: 11.32 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03672/0.8393, allocations: 29.55 MB / 1.349 GB, free: 13.69 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004234/0.8436, allocations: 139.1 kB / 1.349 GB, free: 13.55 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003319/0.8469, allocations: 1.312 MB / 1.35 GB, free: 12.23 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008539/0.8555, allocations: 3.377 MB / 1.353 GB, free: 8.84 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006206/0.8617, allocations: 2.572 MB / 1.356 GB, free: 6.293 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01185/0.8736, allocations: 10.26 MB / 1.366 GB, free: 12.02 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005482/0.8791, allocations: 4.229 MB / 1.37 GB, free: 7.707 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007785/0.8869, allocations: 3.945 MB / 1.374 GB, free: 3.754 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004663/0.8916, allocations: 2.874 MB / 1.377 GB, free: 0.8672 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0006116/0.8922, allocations: 288 kB / 1.377 GB, free: 0.5859 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004258/0.8965, allocations: 1.798 MB / 1.379 GB, free: 14.79 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007688/0.8973, allocations: 0.7979 MB / 1.379 GB, free: 13.98 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002381/0.8996, allocations: 1.882 MB / 1.381 GB, free: 12.09 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.006546/0.9062, allocations: 5.205 MB / 1.386 GB, free: 6.875 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9062, allocations: 0 / 1.386 GB, free: 6.875 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9062, allocations: 0 / 1.386 GB, free: 6.875 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.869e-05/0.9063, allocations: 0 / 1.386 GB, free: 6.875 MB / 1.107 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.005471/0.9118, allocations: 3.804 MB / 1.39 GB, free: 3 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.9118, allocations: 8.031 kB / 1.39 GB, free: 2.992 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008275/0.9127, allocations: 407.3 kB / 1.39 GB, free: 2.59 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004279/0.917, allocations: 2.723 MB / 1.393 GB, free: 15.8 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.9171, allocations: 168.2 kB / 1.393 GB, free: 15.63 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003043/0.9174, allocations: 232 kB / 1.393 GB, free: 15.4 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003987/0.9214, allocations: 2.597 MB / 1.396 GB, free: 12.7 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.297e-05/0.9214, allocations: 3.984 kB / 1.396 GB, free: 12.7 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001904/0.9216, allocations: 87.94 kB / 1.396 GB, free: 12.61 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.515e-05/0.9217, allocations: 60 kB / 1.396 GB, free: 12.55 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002962/0.9247, allocations: 1.944 MB / 1.398 GB, free: 10.61 MB / 1.123 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.01226/0.937, allocations: 10.29 MB / 1.408 GB, free: 15.68 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.938, allocations: 0.7435 MB / 1.409 GB, free: 14.89 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007671/0.9388, allocations: 0.5996 MB / 1.409 GB, free: 14.28 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/0.9402, allocations: 1.9 MB / 1.411 GB, free: 11.95 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.9402, allocations: 47.53 kB / 1.411 GB, free: 11.9 MB / 1.139 GB Notification: Performance of pre-optimization done (n=89): time 4.017e-06/0.9402, allocations: 0 / 1.411 GB, free: 11.9 MB / 1.139 GB Notification: Performance of matching and sorting (n=89): time 0.004665/0.9449, allocations: 2.033 MB / 1.413 GB, free: 9.84 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/0.945, allocations: 170.1 kB / 1.413 GB, free: 9.637 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003303/0.9483, allocations: 2.708 MB / 1.416 GB, free: 6.918 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.9484, allocations: 50.08 kB / 1.416 GB, free: 6.863 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.9495, allocations: 1.37 MB / 1.417 GB, free: 5.477 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000272/0.9497, allocations: 315.4 kB / 1.418 GB, free: 5.164 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003563/0.9501, allocations: 267 kB / 1.418 GB, free: 4.898 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.9502, allocations: 349.9 kB / 1.418 GB, free: 4.551 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006718/0.9509, allocations: 470.7 kB / 1.419 GB, free: 4.086 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.952, allocations: 0.9998 MB / 1.42 GB, free: 2.871 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/0.9537, allocations: 1.294 MB / 1.421 GB, free: 1.465 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.9537, allocations: 0 / 1.421 GB, free: 1.465 MB / 1.139 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003208/0.9569, allocations: 1.721 MB / 1.423 GB, free: 15.73 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.9569, allocations: 12 kB / 1.423 GB, free: 15.72 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.9569, allocations: 8 kB / 1.423 GB, free: 15.71 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009753/0.9579, allocations: 259.3 kB / 1.423 GB, free: 15.46 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002337/0.9603, allocations: 463.3 kB / 1.423 GB, free: 15.01 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004534/0.9648, allocations: 6.912 MB / 1.43 GB, free: 7.836 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/0.9668, allocations: 190.7 kB / 1.43 GB, free: 7.648 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.967, allocations: 67.97 kB / 1.43 GB, free: 7.582 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001853/0.9688, allocations: 1.111 MB / 1.432 GB, free: 6.469 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001056/0.9699, allocations: 0.9413 MB / 1.432 GB, free: 5.316 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001513/0.9714, allocations: 1.16 MB / 1.434 GB, free: 4.039 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.025e-06/0.9714, allocations: 4 kB / 1.434 GB, free: 4.035 MB / 1.154 GB Notification: Performance of matching and sorting (n=132) (initialization_lambda0): time 0.002664/0.9741, allocations: 1.525 MB / 1.435 GB, free: 2.5 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.9741, allocations: 8 kB / 1.435 GB, free: 2.492 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.9741, allocations: 8 kB / 1.435 GB, free: 2.484 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000362/0.9745, allocations: 149 kB / 1.435 GB, free: 2.336 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008187/0.9753, allocations: 243.6 kB / 1.435 GB, free: 2.098 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002691/0.978, allocations: 2.47 MB / 1.438 GB, free: 15.49 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/0.9799, allocations: 139.9 kB / 1.438 GB, free: 15.36 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-05/0.98, allocations: 60.05 kB / 1.438 GB, free: 15.3 MB / 1.17 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.0003583/0.9803, allocations: 272.9 kB / 1.438 GB, free: 15.02 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006285/0.981, allocations: 276.6 kB / 1.439 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002781/0.9838, allocations: 1.619 MB / 1.44 GB, free: 13.12 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001626/0.9854, allocations: 1.451 MB / 1.442 GB, free: 11.55 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.9854, allocations: 0 / 1.442 GB, free: 11.55 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009226/0.9863, allocations: 0.4935 MB / 1.442 GB, free: 11.04 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004045/0.9868, allocations: 23.98 kB / 1.442 GB, free: 11.02 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/0.9882, allocations: 59.92 kB / 1.442 GB, free: 10.96 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.9883, allocations: 71.89 kB / 1.442 GB, free: 10.89 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003045/0.9914, allocations: 1.929 MB / 1.444 GB, free: 8.918 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002973/0.9944, allocations: 2.496 MB / 1.447 GB, free: 6.398 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007089/0.9951, allocations: 0.5467 MB / 1.447 GB, free: 5.855 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002845/0.9979, allocations: 1.873 MB / 1.449 GB, free: 3.984 MB / 1.17 GB Notification: Performance of Backend: time 3.91e-07/0.998, allocations: 4 kB / 1.449 GB, free: 3.98 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007364/1.005, allocations: 2.483 MB / 1.451 GB, free: 1.488 MB / 1.17 GB Notification: Performance of SimCode: time 0.01143/1.017, allocations: 6.746 MB / 1.458 GB, free: 10.71 MB / 1.186 GB Notification: Performance of Templates: time 0.08248/1.099, allocations: 55.25 MB / 1.512 GB, free: 4.023 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.Routing.makefile (rm -f Buildings_latest_Buildings.Templates.Components.Validation.Routing.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.Routing.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.Routing.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.Routing.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.Routing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.Routing.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Routing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_Routing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Routing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches