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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: "" <> buildModelFMU(Buildings.Templates.Components.Validation.Routing,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Validation_Routing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.Routing,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Validation_Routing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009982/0.0009982, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.006583/0.006584, allocations: 169.8 kB / 16.27 MB, free: 6.648 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.32/1.32, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.596/2.596, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003074, allocations: 7.5 kB / 0.9029 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3016, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Routing): time 0.104/0.4057, allocations: 111.4 MB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03589/0.4416, allocations: 29.24 MB / 1.196 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004867/0.4466, allocations: 123.1 kB / 1.196 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003895/0.4505, allocations: 1.064 MB / 1.197 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.008567/0.4591, allocations: 3.137 MB / 1.2 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005826/0.4649, allocations: 2.334 MB / 1.203 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01444/0.4794, allocations: 14.46 MB / 1.217 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004695/0.4841, allocations: 3.355 MB / 1.22 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005981/0.4901, allocations: 3.22 MB / 1.223 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00396/0.4941, allocations: 2.796 MB / 1.226 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003285/0.4944, allocations: 120 kB / 1.226 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003634/0.4981, allocations: 1.59 MB / 1.228 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006057/0.4987, allocations: 0.5988 MB / 1.228 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002091/0.5008, allocations: 1.684 MB / 1.23 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005557/0.5064, allocations: 4.941 MB / 1.235 GB, free: 240 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.5064, allocations: 0 / 1.235 GB, free: 240 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5064, allocations: 3.938 kB / 1.235 GB, free: 236 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.487e-05/0.5065, allocations: 4 kB / 1.235 GB, free: 232 kB / 0.9825 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.004869/0.5113, allocations: 3.161 MB / 1.238 GB, free: 13 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.5114, allocations: 11.97 kB / 1.238 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004012/0.5118, allocations: 307.6 kB / 1.238 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000761/0.5126, allocations: 403.5 kB / 1.238 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003856/0.5164, allocations: 2.582 MB / 1.241 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.5166, allocations: 168.2 kB / 1.241 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/0.5169, allocations: 228 kB / 1.241 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003673/0.5205, allocations: 2.593 MB / 1.244 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.544e-05/0.5206, allocations: 7.844 kB / 1.244 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/0.5208, allocations: 91.94 kB / 1.244 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.427e-05/0.5209, allocations: 55.98 kB / 1.244 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002856/0.5237, allocations: 1.944 MB / 1.246 GB, free: 4.434 MB / 0.9981 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.4836/1.007, allocations: 10.26 MB / 1.256 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008858/1.008, allocations: 0.7471 MB / 1.257 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006007/1.009, allocations: 0.5905 MB / 1.257 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007984/1.01, allocations: 1.902 MB / 1.259 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/1.01, allocations: 51.28 kB / 1.259 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 3.206e-06/1.01, allocations: 1.594 kB / 1.259 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.004088/1.014, allocations: 2.034 MB / 1.261 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/1.014, allocations: 174.1 kB / 1.261 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003041/1.017, allocations: 2.696 MB / 1.264 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/1.017, allocations: 51.95 kB / 1.264 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008992/1.018, allocations: 1.377 MB / 1.265 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/1.018, allocations: 317 kB / 1.266 GB, free: 176 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/1.018, allocations: 86.95 kB / 1.266 GB, free: 176 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.885e-05/1.018, allocations: 346.1 kB / 1.266 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006087/1.019, allocations: 457.2 kB / 1.266 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000912/1.02, allocations: 1.009 MB / 1.267 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/1.021, allocations: 1.28 MB / 1.269 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/1.021, allocations: 3.484 kB / 1.269 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003286/1.025, allocations: 1.724 MB / 1.27 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/1.025, allocations: 350.8 kB / 1.271 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/1.025, allocations: 8.188 kB / 1.271 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/1.026, allocations: 251 kB / 1.271 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002284/1.028, allocations: 470.7 kB / 1.271 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002838/1.031, allocations: 6.934 MB / 1.278 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/1.033, allocations: 325.2 kB / 1.278 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/1.034, allocations: 62.62 kB / 1.278 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/1.034, allocations: 8.562 kB / 1.278 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002295/1.036, allocations: 1.243 MB / 1.28 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/1.036, allocations: 9.406 kB / 1.28 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004089/1.036, allocations: 140.6 kB / 1.28 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009328/1.037, allocations: 251 kB / 1.28 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/1.04, allocations: 2.261 MB / 1.282 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/1.042, allocations: 310.9 kB / 1.283 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/1.042, allocations: 57.69 kB / 1.283 GB, free: 166.1 MB / 0.9981 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.001444/1.043, allocations: 0.8763 MB / 1.283 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004089/1.044, allocations: 278.4 kB / 1.284 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/1.046, allocations: 1.637 MB / 1.285 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/1.046, allocations: 14.44 kB / 1.285 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/1.046, allocations: 2.406 kB / 1.285 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001459/1.048, allocations: 1.447 MB / 1.287 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006462/1.054, allocations: 4.371 MB / 1.291 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/1.054, allocations: 6 kB / 1.291 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000913/1.055, allocations: 247.5 kB / 1.291 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003311/1.056, allocations: 160.6 kB / 1.291 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-05/1.056, allocations: 32.94 kB / 1.291 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/1.058, allocations: 6.833 MB / 1.298 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/1.058, allocations: 15.45 kB / 1.298 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002959/1.061, allocations: 2.661 MB / 1.301 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/1.062, allocations: 0.544 MB / 1.301 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004863/1.063, allocations: 30.81 kB / 1.301 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/1.065, allocations: 205.8 kB / 1.302 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/1.065, allocations: 84.64 kB / 1.302 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.428e-05/1.065, allocations: 54.8 kB / 1.302 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002341/1.067, allocations: 1.865 MB / 1.303 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.41e-07/1.067, allocations: 0 / 1.303 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003664/1.071, allocations: 1.513 MB / 1.305 GB, free: 153.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (sinMul.del.dynBal.U,mulSin.del.dynBal.U,mulMulCom.del.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 Backend phase and start with SimCode phase: time 0.003641/1.074, allocations: 3.667 MB / 1.309 GB, free: 151 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004689/1.079, allocations: 2.272 MB / 1.311 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.079, allocations: 3.969 kB / 1.311 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/1.08, allocations: 0.7018 MB / 1.311 GB, free: 149.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01003/1.09, allocations: 1.679 MB / 1.313 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02803/1.118, allocations: 23.89 MB / 1.336 GB, free: 126.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/1.12, allocations: 2.192 MB / 1.339 GB, free: 124.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002116/1.122, allocations: 0.6613 MB / 1.339 GB, free: 123.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/1.123, allocations: 1.136 MB / 1.34 GB, free: 122.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.162e-06/1.123, allocations: 0 / 1.34 GB, free: 122.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.167/1.29, allocations: 78.47 MB / 1.417 GB, free: 44.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/1.29, allocations: 286.2 kB / 1.417 GB, free: 44.22 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.737/5.027, allocations: 2.25 kB / 1.417 GB, free: 44.22 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Components.Validation.Routing_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Components_Validation_Routing_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Components_Validation_Routing.fmu > 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