Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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_latest_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_latest_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.001031/0.001032, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01045/0.01045, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.481/1.481, 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 11.0.1-master/package.mo): time 2.778/2.778, allocations: 462.7 MB / 0.7364 GB, free: 256 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003944, allocations: 8.625 kB / 0.9028 GB, free: 36.79 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3593, allocations: 159.6 MB / 1.059 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.03281/0.3922, allocations: 28.07 MB / 1.086 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01079/0.403, allocations: 6.749 MB / 1.093 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.4046, allocations: 31.75 kB / 1.093 GB, free: 2.488 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.4062, allocations: 334 kB / 1.093 GB, free: 2.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004563/0.4107, allocations: 1.201 MB / 1.094 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.4128, allocations: 0.5526 MB / 1.095 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004393/0.4173, allocations: 2.756 MB / 1.097 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.4184, allocations: 452.8 kB / 1.098 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002239/0.4206, allocations: 0.7466 MB / 1.099 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.422, allocations: 0.5287 MB / 1.099 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.4223, allocations: 23.98 kB / 1.099 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002935/0.4252, allocations: 0.9394 MB / 1.1 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002903/0.4255, allocations: 131.3 kB / 1.1 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008592/0.4264, allocations: 379.6 kB / 1.101 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003024/0.4294, allocations: 1.188 MB / 1.102 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4295, allocations: 0 / 1.102 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.876e-06/0.4295, allocations: 0 / 1.102 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.351e-05/0.4295, allocations: 4 kB / 1.102 GB, free: 9.234 MB / 0.8575 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.002292/0.4318, allocations: 1.002 MB / 1.103 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.4319, allocations: 15.91 kB / 1.103 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002942/0.4322, allocations: 87.91 kB / 1.103 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/0.434, allocations: 0.7413 MB / 1.103 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-05/0.4341, allocations: 29 kB / 1.104 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.947e-05/0.4342, allocations: 36 kB / 1.104 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000671/0.4349, allocations: 318.5 kB / 1.104 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.4349, allocations: 0 / 1.104 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.4349, allocations: 16 kB / 1.104 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.4349, allocations: 11.94 kB / 1.104 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004429/0.4354, allocations: 239.9 kB / 1.104 GB, free: 6.66 MB / 0.8575 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.002747/0.4381, allocations: 1.462 MB / 1.106 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.4384, allocations: 142.5 kB / 1.106 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.4386, allocations: 107 kB / 1.106 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007582/0.4394, allocations: 0.8233 MB / 1.107 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.4394, allocations: 42.5 kB / 1.107 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 2.024e-06/0.4394, allocations: 4 kB / 1.107 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.0006526/0.4401, allocations: 306.1 kB / 1.107 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.4402, allocations: 55.41 kB / 1.107 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009646/0.4411, allocations: 0.7196 MB / 1.108 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.4412, allocations: 33.7 kB / 1.108 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.4415, allocations: 359.6 kB / 1.108 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.464e-05/0.4416, allocations: 71.05 kB / 1.108 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.79e-05/0.4417, allocations: 41.69 kB / 1.108 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4418, allocations: 326 kB / 1.108 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.442, allocations: 100.8 kB / 1.109 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.4424, allocations: 283.8 kB / 1.109 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.4429, allocations: 352 kB / 1.109 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.4429, allocations: 0 / 1.109 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007249/0.4436, allocations: 440.5 kB / 1.11 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001641/0.4438, allocations: 216.5 kB / 1.11 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.4438, allocations: 4 kB / 1.11 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.4438, allocations: 8 kB / 1.11 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005293/0.4491, allocations: 0.6476 MB / 1.11 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008825/0.45, allocations: 1.207 MB / 1.112 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007058/0.4508, allocations: 55.77 kB / 1.112 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.432e-05/0.4509, allocations: 27.94 kB / 1.112 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.4509, allocations: 4 kB / 1.112 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005897/0.4515, allocations: 336.1 kB / 1.112 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4515, allocations: 8.031 kB / 1.112 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.4515, allocations: 8 kB / 1.112 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005053/0.4566, allocations: 0.6398 MB / 1.113 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008117/0.4574, allocations: 1.203 MB / 1.114 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006073/0.458, allocations: 43.73 kB / 1.114 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.329e-05/0.4581, allocations: 16 kB / 1.114 GB, free: 11.97 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.000441/0.4586, allocations: 283.8 kB / 1.114 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.4588, allocations: 79.06 kB / 1.114 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007259/0.4595, allocations: 388.5 kB / 1.115 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.4596, allocations: 7.984 kB / 1.115 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.4596, allocations: 0 / 1.115 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.4596, allocations: 8.125 kB / 1.115 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.4612, allocations: 1.001 MB / 1.116 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.4612, allocations: 4.25 kB / 1.116 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.4614, allocations: 35.97 kB / 1.116 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.4614, allocations: 4 kB / 1.116 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.4614, allocations: 11.98 kB / 1.116 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.4614, allocations: 7.938 kB / 1.116 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4614, allocations: 0 / 1.116 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005823/0.462, allocations: 461.2 kB / 1.116 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/0.4624, allocations: 192 kB / 1.116 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.4625, allocations: 8 kB / 1.116 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.4628, allocations: 19.98 kB / 1.116 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.4629, allocations: 19.91 kB / 1.116 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.4629, allocations: 16 kB / 1.116 GB, free: 9.289 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006607/0.4636, allocations: 0.499 MB / 1.117 GB, free: 8.797 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.01e-07/0.4636, allocations: 0 / 1.117 GB, free: 8.797 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001377/0.465, allocations: 383.4 kB / 1.117 GB, free: 8.422 MB / 0.8731 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.001059/0.466, allocations: 380.6 kB / 1.118 GB, free: 8.047 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01563/0.4817, allocations: 2.157 MB / 1.12 GB, free: 5.891 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/0.4817, allocations: 0 / 1.12 GB, free: 5.891 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.482, allocations: 123.8 kB / 1.12 GB, free: 5.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/0.4844, allocations: 283.9 kB / 1.12 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.4869, allocations: 1.318 MB / 1.121 GB, free: 4.125 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000628/0.4875, allocations: 0.9219 MB / 1.122 GB, free: 3.176 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007376/0.4883, allocations: 181.4 kB / 1.122 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.4884, allocations: 51.44 kB / 1.122 GB, free: 2.945 MB / 0.8731 GB Notification: Performance of SimCode: time 1.673e-06/0.4884, allocations: 0 / 1.122 GB, free: 2.945 MB / 0.8731 GB Notification: Performance of Templates: time 0.02656/0.515, allocations: 13.02 MB / 1.135 GB, free: 6.074 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.makefile (rm -f Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; mkfifo Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe >> ../files/Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.sim & ./Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Networks_Pipes_Validation_Pipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches