Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DHC.Networks.Pipes.Validation.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipSta1.dh|pipAut1.dh|pipSta2.dh|pipAut2.dh|pipSta1.dp|pipAut1.dp|pipSta2.dp|pipAut2.dp",fileNamePrefix="Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe") translateModel(Buildings.DHC.Networks.Pipes.Validation.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipSta1.dh|pipAut1.dh|pipSta2.dh|pipAut2.dh|pipSta1.dp|pipAut1.dp|pipSta2.dp|pipAut2.dp",fileNamePrefix="Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 98.27 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.008946/0.008946, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.707/1.707, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.211/3.211, allocations: 470.6 MB / 0.7441 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003606, allocations: 7.156 kB / 0.9123 GB, free: 34.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3908, allocations: 161.4 MB / 1.07 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.03515/0.426, allocations: 28.05 MB / 1.097 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01274/0.4388, allocations: 6.759 MB / 1.104 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.4408, allocations: 35.75 kB / 1.104 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.4425, allocations: 334 kB / 1.104 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005176/0.4477, allocations: 1.2 MB / 1.105 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002442/0.4502, allocations: 0.5546 MB / 1.106 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005307/0.4555, allocations: 2.752 MB / 1.109 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.4569, allocations: 460.8 kB / 1.109 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002509/0.4594, allocations: 0.7427 MB / 1.11 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001532/0.461, allocations: 0.5209 MB / 1.11 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000232/0.4612, allocations: 27.98 kB / 1.11 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003265/0.4645, allocations: 0.9393 MB / 1.111 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004322/0.465, allocations: 139.2 kB / 1.111 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009901/0.466, allocations: 375.6 kB / 1.112 GB, free: 416 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003202/0.4692, allocations: 1.195 MB / 1.113 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4692, allocations: 0 / 1.113 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.906e-06/0.4692, allocations: 0 / 1.113 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.117e-05/0.4693, allocations: 4 kB / 1.113 GB, free: 15.2 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002265/0.4715, allocations: 1.004 MB / 1.114 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.4716, allocations: 8.031 kB / 1.114 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002767/0.4719, allocations: 87.91 kB / 1.114 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001896/0.4738, allocations: 0.7297 MB / 1.115 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.4739, allocations: 29 kB / 1.115 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.58e-05/0.474, allocations: 40 kB / 1.115 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006875/0.4746, allocations: 326.4 kB / 1.115 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.4747, allocations: 3.984 kB / 1.115 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.4747, allocations: 12 kB / 1.115 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.4747, allocations: 12 kB / 1.115 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004355/0.4752, allocations: 239.9 kB / 1.115 GB, free: 12.63 MB / 0.8731 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.002545/0.4777, allocations: 1.457 MB / 1.117 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.478, allocations: 146.5 kB / 1.117 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.4782, allocations: 113.9 kB / 1.117 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008/0.479, allocations: 0.8155 MB / 1.118 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.479, allocations: 38.56 kB / 1.118 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 2.484e-06/0.479, allocations: 0 / 1.118 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.0006939/0.4797, allocations: 314.2 kB / 1.118 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.4798, allocations: 51.41 kB / 1.118 GB, free: 9.359 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.4809, allocations: 0.7235 MB / 1.119 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.4809, allocations: 29.7 kB / 1.119 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/0.4813, allocations: 371.6 kB / 1.119 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.999e-05/0.4814, allocations: 63.05 kB / 1.119 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.785e-05/0.4814, allocations: 41.69 kB / 1.119 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4816, allocations: 322 kB / 1.12 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.4818, allocations: 104.8 kB / 1.12 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.4822, allocations: 275.9 kB / 1.12 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006057/0.4828, allocations: 343.9 kB / 1.12 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/0.4828, allocations: 4 kB / 1.12 GB, free: 6.945 MB / 0.8731 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008615/0.4837, allocations: 452.4 kB / 1.121 GB, free: 6.496 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.000223/0.4839, allocations: 222.8 kB / 1.121 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.484, allocations: 7.938 kB / 1.121 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.484, allocations: 4 kB / 1.121 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005454/0.4894, allocations: 0.6514 MB / 1.122 GB, free: 5.555 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.4905, allocations: 1.203 MB / 1.123 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006686/0.4912, allocations: 51.77 kB / 1.123 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.56e-05/0.4913, allocations: 24 kB / 1.123 GB, free: 4.23 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.4913, allocations: 4 kB / 1.123 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006381/0.492, allocations: 335.3 kB / 1.123 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.492, allocations: 4.438 kB / 1.123 GB, free: 3.895 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.492, allocations: 12 kB / 1.123 GB, free: 3.883 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005278/0.4973, allocations: 0.6436 MB / 1.124 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009297/0.4982, allocations: 1.207 MB / 1.125 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006324/0.4989, allocations: 35.83 kB / 1.125 GB, free: 1.949 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.032e-05/0.499, allocations: 24 kB / 1.125 GB, free: 1.926 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004669/0.4995, allocations: 276.8 kB / 1.125 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.4997, allocations: 75.16 kB / 1.125 GB, free: 1.57 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008028/0.5005, allocations: 389.2 kB / 1.126 GB, free: 1.176 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.5005, allocations: 4 kB / 1.126 GB, free: 1.172 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.5005, allocations: 4 kB / 1.126 GB, free: 1.168 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.5005, allocations: 7.922 kB / 1.126 GB, free: 1.16 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.5023, allocations: 1.002 MB / 1.127 GB, free: 80 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.5023, allocations: 0 / 1.127 GB, free: 80 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.5024, allocations: 32.17 kB / 1.127 GB, free: 48 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.5024, allocations: 8 kB / 1.127 GB, free: 40 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.5025, allocations: 8 kB / 1.127 GB, free: 32 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.5025, allocations: 7.984 kB / 1.127 GB, free: 24 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5025, allocations: 4 kB / 1.127 GB, free: 20 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00065/0.5031, allocations: 458 kB / 1.127 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/0.5035, allocations: 192.3 kB / 1.127 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.5036, allocations: 8 kB / 1.128 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.504, allocations: 23.89 kB / 1.128 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.504, allocations: 23.91 kB / 1.128 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.504, allocations: 15.98 kB / 1.128 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00073/0.5048, allocations: 0.4951 MB / 1.128 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.465e-06/0.5048, allocations: 0 / 1.128 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001326/0.5061, allocations: 387.5 kB / 1.128 GB, free: 14.39 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 simulation (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001097/0.5072, allocations: 369.2 kB / 1.129 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0161/0.5233, allocations: 2.167 MB / 1.131 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.5234, allocations: 0 / 1.131 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.5237, allocations: 121.8 kB / 1.131 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/0.526, allocations: 282.1 kB / 1.131 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.5285, allocations: 1.309 MB / 1.133 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006876/0.5292, allocations: 0.9258 MB / 1.133 GB, free: 9.148 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007957/0.53, allocations: 189.4 kB / 1.134 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.5302, allocations: 47.44 kB / 1.134 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of SimCode: time 1.052e-06/0.5302, allocations: 0 / 1.134 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of Templates: time 0.02883/0.559, allocations: 13.02 MB / 1.146 GB, free: 12.06 MB / 0.9044 GB make -j1 -f Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.makefile (rm -f Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; mkfifo Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe >> ../files/Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.sim & ./Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Networks_Pipes_Validation_Pipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches