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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Templates.Components.Validation.Routing,fileNamePrefix="Buildings_10_Buildings_Templates_Components_Validation_Routing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.Routing,fileNamePrefix="Buildings_10_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.001132/0.001132, allocations: 97.88 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.008763/0.008763, allocations: 170.6 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.398/1.398, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.68/2.68, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003698, allocations: 8 kB / 0.8729 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9549/0.9553, allocations: 153.8 MB / 1.023 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Routing): time 0.1368/1.092, allocations: 111.3 MB / 1.132 GB, free: 288 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.04725/1.14, allocations: 29.24 MB / 1.16 GB, free: 2.977 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007334/1.147, allocations: 119.1 kB / 1.16 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.005268/1.152, allocations: 1.072 MB / 1.162 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01331/1.166, allocations: 3.146 MB / 1.165 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.009195/1.175, allocations: 2.328 MB / 1.167 GB, free: 12.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02232/1.197, allocations: 14.46 MB / 1.181 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007943/1.205, allocations: 3.344 MB / 1.184 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009957/1.215, allocations: 3.22 MB / 1.187 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006687/1.222, allocations: 2.784 MB / 1.19 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001229/1.223, allocations: 124 kB / 1.19 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006548/1.23, allocations: 1.579 MB / 1.192 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001902/1.232, allocations: 0.6064 MB / 1.192 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.006309/1.238, allocations: 1.673 MB / 1.194 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01336/1.251, allocations: 4.941 MB / 1.199 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/1.251, allocations: 0 / 1.199 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.785e-06/1.252, allocations: 4 kB / 1.199 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002949/1.252, allocations: 0 / 1.199 GB, free: 11.41 MB / 0.9512 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.01023/1.262, allocations: 3.145 MB / 1.202 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.537e-05/1.262, allocations: 8.031 kB / 1.202 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001424/1.264, allocations: 299.6 kB / 1.202 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002199/1.266, allocations: 399.5 kB / 1.203 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007989/1.274, allocations: 2.586 MB / 1.205 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/1.274, allocations: 176.2 kB / 1.205 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009037/1.275, allocations: 227.9 kB / 1.205 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006948/1.282, allocations: 2.589 MB / 1.208 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-05/1.282, allocations: 3.938 kB / 1.208 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004044/1.283, allocations: 95.98 kB / 1.208 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-05/1.283, allocations: 63.92 kB / 1.208 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003975/1.287, allocations: 1.94 MB / 1.21 GB, free: 15.63 MB / 0.9669 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.01868/1.305, allocations: 10.26 MB / 1.22 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/1.307, allocations: 0.7357 MB / 1.221 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009758/1.308, allocations: 0.5973 MB / 1.221 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001694/1.309, allocations: 1.904 MB / 1.223 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.09e-05/1.309, allocations: 54.77 kB / 1.223 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=89): time 3.907e-06/1.31, allocations: 0 / 1.223 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of matching and sorting (n=89): time 0.005868/1.315, allocations: 2.046 MB / 1.225 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/1.316, allocations: 162.2 kB / 1.225 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006221/1.322, allocations: 2.668 MB / 1.228 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003269/1.322, allocations: 49.7 kB / 1.228 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001704/1.324, allocations: 1.389 MB / 1.229 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005656/1.324, allocations: 315.4 kB / 1.23 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/1.325, allocations: 89.66 kB / 1.23 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001832/1.325, allocations: 349.9 kB / 1.23 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008917/1.326, allocations: 462.3 kB / 1.231 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/1.327, allocations: 0.9999 MB / 1.232 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001967/1.329, allocations: 1.28 MB / 1.233 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.02e-05/1.329, allocations: 11.94 kB / 1.233 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004397/1.334, allocations: 1.715 MB / 1.235 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003793/1.334, allocations: 345.6 kB / 1.235 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/1.334, allocations: 11.94 kB / 1.235 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/1.335, allocations: 248.6 kB / 1.235 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/1.338, allocations: 475.2 kB / 1.236 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005316/1.343, allocations: 6.92 MB / 1.242 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003792/1.347, allocations: 322.4 kB / 1.243 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003757/1.347, allocations: 67.95 kB / 1.243 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/1.347, allocations: 12.88 kB / 1.243 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00286/1.35, allocations: 1.247 MB / 1.244 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.872e-05/1.35, allocations: 8 kB / 1.244 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004317/1.351, allocations: 136.8 kB / 1.244 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009502/1.352, allocations: 255.9 kB / 1.244 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/1.355, allocations: 2.273 MB / 1.247 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004084/1.359, allocations: 314.5 kB / 1.247 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003499/1.36, allocations: 55.98 kB / 1.247 GB, free: 7.84 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.0031/1.363, allocations: 0.8744 MB / 1.248 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001546/1.364, allocations: 268.7 kB / 1.248 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004678/1.369, allocations: 1.633 MB / 1.25 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.606e-05/1.369, allocations: 15.94 kB / 1.25 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/1.369, allocations: 240 / 1.25 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002337/1.372, allocations: 1.443 MB / 1.251 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7187/2.09, allocations: 4.372 MB / 1.255 GB, free: 221 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/2.09, allocations: 7.594 kB / 1.255 GB, free: 221 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/2.091, allocations: 249.8 kB / 1.256 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004438/2.092, allocations: 156.4 kB / 1.256 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-05/2.092, allocations: 35.69 kB / 1.256 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003339/2.095, allocations: 6.825 MB / 1.262 GB, free: 214.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.498e-05/2.095, allocations: 10.69 kB / 1.262 GB, free: 214.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004978/2.1, allocations: 2.658 MB / 1.265 GB, free: 213.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001871/2.102, allocations: 0.5385 MB / 1.266 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002854/2.103, allocations: 24.89 kB / 1.266 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/2.104, allocations: 215.2 kB / 1.266 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/2.105, allocations: 82.25 kB / 1.266 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/2.105, allocations: 52.72 kB / 1.266 GB, free: 213.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003857/2.109, allocations: 1.845 MB / 1.268 GB, free: 212.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/2.109, allocations: 0 / 1.268 GB, free: 212.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006794/2.116, allocations: 1.515 MB / 1.269 GB, free: 212.7 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.006593/2.122, allocations: 3.657 MB / 1.273 GB, free: 210.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006742/2.129, allocations: 2.26 MB / 1.275 GB, free: 210.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-05/2.129, allocations: 5.969 kB / 1.275 GB, free: 210.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001829/2.131, allocations: 0.6974 MB / 1.276 GB, free: 209.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01318/2.144, allocations: 1.68 MB / 1.277 GB, free: 209.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04142/2.185, allocations: 23.94 MB / 1.301 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/2.187, allocations: 2.172 MB / 1.303 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003208/2.19, allocations: 0.664 MB / 1.303 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/2.192, allocations: 1.136 MB / 1.305 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.482e-06/2.192, allocations: 0 / 1.305 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.137/4.329, allocations: 78.56 MB / 1.381 GB, free: 114.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/4.329, allocations: 277.3 kB / 1.381 GB, free: 113.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.78/9.109, allocations: 3.75 kB / 1.381 GB, free: 113.9 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Templates.Components.Validation.Routing_res.mat --tempDir=temp_Buildings_10_Buildings_Templates_Components_Validation_Routing_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Templates_Components_Validation_Routing.fmu > 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