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.001836/0.001836, allocations: 109.5 kB / 16.41 MB, free: 6.477 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.001999/0.002, allocations: 188.1 kB / 17.34 MB, free: 5.754 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.527/2.527, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 68.12 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8722/0.8736, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.02993/0.9036, allocations: 28.91 MB / 1.237 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009875/0.9135, allocations: 6.793 MB / 1.243 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/0.9151, allocations: 39.75 kB / 1.243 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.9166, allocations: 417.1 kB / 1.244 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004519/0.9212, allocations: 1.364 MB / 1.245 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.9234, allocations: 0.6328 MB / 1.246 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003601/0.927, allocations: 2.159 MB / 1.248 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.9281, allocations: 0.5439 MB / 1.248 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/0.93, allocations: 0.821 MB / 1.249 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.931, allocations: 0.521 MB / 1.25 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001783/0.9312, allocations: 44 kB / 1.25 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/0.9337, allocations: 0.9863 MB / 1.251 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002826/0.934, allocations: 155.3 kB / 1.251 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007/0.9347, allocations: 373.9 kB / 1.251 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002825/0.9375, allocations: 1.232 MB / 1.252 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.9375, allocations: 0 / 1.252 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.454e-06/0.9375, allocations: 0 / 1.252 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.215e-05/0.9376, allocations: 0 / 1.252 GB, free: 0.5273 MB / 0.9669 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.002059/0.9396, allocations: 1.136 MB / 1.253 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.9397, allocations: 8.031 kB / 1.253 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002254/0.9399, allocations: 87.91 kB / 1.254 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.9416, allocations: 0.7766 MB / 1.254 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.9416, allocations: 33 kB / 1.254 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.478e-05/0.9417, allocations: 40 kB / 1.254 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005564/0.9423, allocations: 318.5 kB / 1.255 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.9423, allocations: 0 / 1.255 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.9423, allocations: 16 kB / 1.255 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.9423, allocations: 11.94 kB / 1.255 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004022/0.9427, allocations: 235.9 kB / 1.255 GB, free: 13.79 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.002128/0.9449, allocations: 1.453 MB / 1.256 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.9451, allocations: 142.5 kB / 1.256 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.9453, allocations: 112.8 kB / 1.257 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005764/0.9458, allocations: 0.8232 MB / 1.257 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.9459, allocations: 30.56 kB / 1.257 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.9459, allocations: 0 / 1.257 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.0006235/0.9465, allocations: 314.4 kB / 1.258 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.9466, allocations: 59.39 kB / 1.258 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008487/0.9474, allocations: 0.7118 MB / 1.258 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.9475, allocations: 37.7 kB / 1.258 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.9478, allocations: 363.6 kB / 1.259 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.496e-05/0.9478, allocations: 71.08 kB / 1.259 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.948, allocations: 98.03 kB / 1.259 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.9481, allocations: 318 kB / 1.259 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.9483, allocations: 110.5 kB / 1.259 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.9486, allocations: 279.8 kB / 1.26 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.9491, allocations: 360 kB / 1.26 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.9491, allocations: 0 / 1.26 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007159/0.9498, allocations: 436.2 kB / 1.26 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.9498, allocations: 8 kB / 1.26 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.9498, allocations: 8.375 kB / 1.26 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.9499, allocations: 8 kB / 1.26 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004512/0.9544, allocations: 0.6826 MB / 1.261 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007891/0.9552, allocations: 1.196 MB / 1.262 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/0.9557, allocations: 51.64 kB / 1.262 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.694e-05/0.9558, allocations: 27.98 kB / 1.262 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003594/0.9562, allocations: 240.9 kB / 1.263 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002965/0.9565, allocations: 285.7 kB / 1.263 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003971/0.9569, allocations: 353.6 kB / 1.263 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.616e-06/0.9569, allocations: 4 kB / 1.263 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007388/0.9577, allocations: 436.4 kB / 1.264 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.9577, allocations: 8 kB / 1.264 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.9577, allocations: 4 kB / 1.264 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.9577, allocations: 8.438 kB / 1.264 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004395/0.9621, allocations: 0.6826 MB / 1.264 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008863/0.963, allocations: 1.207 MB / 1.265 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007206/0.9638, allocations: 39.95 kB / 1.266 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.415e-05/0.9639, allocations: 24 kB / 1.266 GB, free: 2.117 MB / 0.9825 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.0002476/0.9642, allocations: 208.1 kB / 1.266 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/0.9644, allocations: 75.06 kB / 1.266 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007664/0.9652, allocations: 379.9 kB / 1.266 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.9652, allocations: 8 kB / 1.266 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.9653, allocations: 7.875 kB / 1.266 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.9653, allocations: 0 / 1.266 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.9669, allocations: 0.995 MB / 1.267 GB, free: 360 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.9669, allocations: 4 kB / 1.267 GB, free: 356 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.549e-05/0.967, allocations: 31.92 kB / 1.267 GB, free: 324 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.9671, allocations: 4 kB / 1.267 GB, free: 320 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.9671, allocations: 8 kB / 1.267 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.9671, allocations: 7.938 kB / 1.267 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.9671, allocations: 0 / 1.267 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006212/0.9677, allocations: 469.5 kB / 1.268 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.968, allocations: 172.1 kB / 1.268 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.9682, allocations: 12 kB / 1.268 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.9685, allocations: 4 kB / 1.268 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.9685, allocations: 27.84 kB / 1.268 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.9686, allocations: 8 kB / 1.268 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006669/0.9692, allocations: 0.499 MB / 1.268 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9692, allocations: 0 / 1.268 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001279/0.9705, allocations: 391.4 kB / 1.269 GB, free: 14.68 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.0009116/0.9714, allocations: 383.1 kB / 1.269 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01344/0.9849, allocations: 2.23 MB / 1.271 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.985, allocations: 4.188 kB / 1.271 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.9852, allocations: 119.4 kB / 1.271 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.9871, allocations: 299.8 kB / 1.272 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.9891, allocations: 1.1 MB / 1.273 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.9896, allocations: 0.9138 MB / 1.274 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.9898, allocations: 59.42 kB / 1.274 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/0.9898, allocations: 4 kB / 1.274 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of Templates: time 0.02278/1.013, allocations: 14.74 MB / 1.288 GB, free: 10.86 MB / 1.014 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/jenkins1/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