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.007517/0.007517, allocations: 100 kB / 15.73 MB, free: 6.062 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.001274/0.001274, allocations: 193.4 kB / 16.67 MB, free: 5.973 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.629/2.629, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 67.89 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9137/0.915, allocations: 159.1 MB / 1.221 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.02832/0.9433, allocations: 28.97 MB / 1.249 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008974/0.9523, allocations: 6.801 MB / 1.256 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.9533, allocations: 39.75 kB / 1.256 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.9544, allocations: 421.1 kB / 1.256 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003347/0.9577, allocations: 1.367 MB / 1.257 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.9594, allocations: 0.634 MB / 1.258 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002936/0.9624, allocations: 2.145 MB / 1.26 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007591/0.9631, allocations: 489.8 kB / 1.26 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.9645, allocations: 0.8209 MB / 1.261 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006508/0.9651, allocations: 0.521 MB / 1.262 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.677e-05/0.9652, allocations: 44 kB / 1.262 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.9671, allocations: 0.9863 MB / 1.263 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.9673, allocations: 171.2 kB / 1.263 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004135/0.9677, allocations: 369.9 kB / 1.263 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.9698, allocations: 1.234 MB / 1.264 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.9698, allocations: 0 / 1.264 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9698, allocations: 0 / 1.264 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.9698, allocations: 0 / 1.264 GB, free: 5.129 MB / 0.9825 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.001722/0.9715, allocations: 1.166 MB / 1.266 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.9715, allocations: 8.031 kB / 1.266 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.9717, allocations: 96.38 kB / 1.266 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.9731, allocations: 0.7852 MB / 1.267 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.9731, allocations: 29 kB / 1.267 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.9732, allocations: 36 kB / 1.267 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000529/0.9737, allocations: 322.5 kB / 1.267 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.9737, allocations: 4 kB / 1.267 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.9737, allocations: 15.94 kB / 1.267 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.9738, allocations: 12 kB / 1.267 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003982/0.9742, allocations: 239.8 kB / 1.267 GB, free: 2.336 MB / 0.9825 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.002034/0.9762, allocations: 1.45 MB / 1.269 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.9764, allocations: 146.4 kB / 1.269 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.9766, allocations: 100.8 kB / 1.269 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006371/0.9772, allocations: 0.8155 MB / 1.27 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.9772, allocations: 34.56 kB / 1.27 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/0.9772, allocations: 4 kB / 1.27 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0005608/0.9778, allocations: 315.3 kB / 1.27 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.9778, allocations: 59.34 kB / 1.27 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008158/0.9786, allocations: 0.7157 MB / 1.271 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.9787, allocations: 33.7 kB / 1.271 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.979, allocations: 368.1 kB / 1.271 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.979, allocations: 71.38 kB / 1.271 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.9791, allocations: 110 kB / 1.271 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.9793, allocations: 318 kB / 1.272 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.9794, allocations: 110.5 kB / 1.272 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/0.9798, allocations: 272 kB / 1.272 GB, free: 13 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/0.9802, allocations: 344 kB / 1.272 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.9802, allocations: 0 / 1.272 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006704/0.9809, allocations: 440.9 kB / 1.273 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.9809, allocations: 8 kB / 1.273 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.9809, allocations: 11.92 kB / 1.273 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.9809, allocations: 4 kB / 1.273 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004756/0.9857, allocations: 0.6792 MB / 1.273 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007592/0.9865, allocations: 1.207 MB / 1.275 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.987, allocations: 47.91 kB / 1.275 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.987, allocations: 31.94 kB / 1.275 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003514/0.9874, allocations: 244.9 kB / 1.275 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003303/0.9877, allocations: 281.8 kB / 1.275 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003997/0.9881, allocations: 349.8 kB / 1.275 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.541e-05/0.9881, allocations: 7.984 kB / 1.275 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006637/0.9888, allocations: 440.6 kB / 1.276 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.9888, allocations: 5.719 kB / 1.276 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.9888, allocations: 11.98 kB / 1.276 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.9888, allocations: 4 kB / 1.276 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004533/0.9933, allocations: 0.6792 MB / 1.277 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008017/0.9941, allocations: 1.207 MB / 1.278 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005119/0.9946, allocations: 31.88 kB / 1.278 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.03e-05/0.9947, allocations: 27.94 kB / 1.278 GB, free: 6.676 MB / 0.9981 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.0002086/0.9949, allocations: 212.2 kB / 1.278 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.995, allocations: 75.53 kB / 1.278 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006967/0.9957, allocations: 376.3 kB / 1.278 GB, free: 6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.9957, allocations: 7.922 kB / 1.278 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.9957, allocations: 7.875 kB / 1.278 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.9957, allocations: 3.984 kB / 1.278 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.9971, allocations: 1 MB / 1.279 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.9971, allocations: 4 kB / 1.279 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.245e-05/0.9972, allocations: 32.17 kB / 1.279 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.9972, allocations: 8 kB / 1.279 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.9972, allocations: 11.98 kB / 1.279 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.9972, allocations: 4 kB / 1.279 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9972, allocations: 0 / 1.279 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005005/0.9977, allocations: 477.6 kB / 1.28 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.9979, allocations: 168.5 kB / 1.28 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.863e-05/0.998, allocations: 8 kB / 1.28 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.9982, allocations: 7.984 kB / 1.28 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.9982, allocations: 27.86 kB / 1.28 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.9983, allocations: 15.98 kB / 1.28 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000607/0.9989, allocations: 0.4951 MB / 1.281 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9989, allocations: 0 / 1.281 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001126/1, allocations: 399.1 kB / 1.281 GB, free: 3.207 MB / 0.9981 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.000819/1.001, allocations: 389 kB / 1.281 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01446/1.015, allocations: 2.201 MB / 1.284 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/1.015, allocations: 0 / 1.284 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002179/1.016, allocations: 117 kB / 1.284 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/1.017, allocations: 291.3 kB / 1.284 GB, free: 240 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/1.019, allocations: 1.107 MB / 1.285 GB, free: 15.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/1.019, allocations: 0.9177 MB / 1.286 GB, free: 14.13 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005084/1.02, allocations: 189.4 kB / 1.286 GB, free: 13.94 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/1.02, allocations: 51.44 kB / 1.286 GB, free: 13.89 MB / 1.014 GB Notification: Performance of SimCode: time 1.382e-06/1.02, allocations: 0 / 1.286 GB, free: 13.89 MB / 1.014 GB Notification: Performance of Templates: time 0.02382/1.044, allocations: 13.72 MB / 1.3 GB, free: 364 kB / 1.014 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=480 -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