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.001245/0.001245, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001403/0.001403, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.515/1.515, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.79/2.79, allocations: 469.4 MB / 0.7428 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 67.89 kB / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036/1.037, allocations: 159.1 MB / 1.221 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.03184/1.069, allocations: 28.91 MB / 1.249 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01083/1.08, allocations: 6.803 MB / 1.256 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/1.082, allocations: 35.81 kB / 1.256 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/1.083, allocations: 425 kB / 1.256 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004684/1.088, allocations: 1.363 MB / 1.258 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002389/1.09, allocations: 0.627 MB / 1.258 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004338/1.095, allocations: 2.17 MB / 1.26 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/1.096, allocations: 0.5399 MB / 1.261 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002392/1.099, allocations: 0.817 MB / 1.262 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/1.1, allocations: 0.5288 MB / 1.262 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002214/1.1, allocations: 40 kB / 1.262 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002943/1.103, allocations: 0.9863 MB / 1.263 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000292/1.103, allocations: 155.3 kB / 1.263 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007567/1.104, allocations: 373.9 kB / 1.264 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003189/1.107, allocations: 1.232 MB / 1.265 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.107, allocations: 0 / 1.265 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.134e-06/1.107, allocations: 4 kB / 1.265 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.502e-05/1.107, allocations: 0 / 1.265 GB, free: 5.27 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.002564/1.11, allocations: 1.125 MB / 1.266 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/1.11, allocations: 8.625 kB / 1.266 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002905/1.11, allocations: 91.91 kB / 1.266 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/1.112, allocations: 0.7805 MB / 1.267 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/1.112, allocations: 25 kB / 1.267 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.339e-05/1.113, allocations: 36 kB / 1.267 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006205/1.113, allocations: 322.5 kB / 1.267 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/1.113, allocations: 0 / 1.267 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.496e-05/1.113, allocations: 19.94 kB / 1.267 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/1.113, allocations: 8 kB / 1.267 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/1.114, allocations: 251.7 kB / 1.267 GB, free: 2.523 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.002435/1.116, allocations: 1.449 MB / 1.269 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/1.116, allocations: 142.5 kB / 1.269 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/1.117, allocations: 104.8 kB / 1.269 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007111/1.117, allocations: 0.8233 MB / 1.27 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/1.117, allocations: 30.56 kB / 1.27 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 2.585e-06/1.117, allocations: 0 / 1.27 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0006414/1.118, allocations: 314.7 kB / 1.27 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/1.118, allocations: 63.39 kB / 1.27 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009442/1.119, allocations: 0.7157 MB / 1.271 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/1.119, allocations: 29.7 kB / 1.271 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003115/1.119, allocations: 367.6 kB / 1.271 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.535e-05/1.119, allocations: 67.09 kB / 1.271 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/1.12, allocations: 94.03 kB / 1.271 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.12, allocations: 326 kB / 1.272 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/1.12, allocations: 106.5 kB / 1.272 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/1.12, allocations: 282.8 kB / 1.272 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004909/1.121, allocations: 348 kB / 1.272 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/1.121, allocations: 4 kB / 1.272 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007825/1.122, allocations: 444.5 kB / 1.273 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.122, allocations: 4 kB / 1.273 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/1.122, allocations: 4 kB / 1.273 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/1.122, allocations: 11.94 kB / 1.273 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004514/1.126, allocations: 0.6789 MB / 1.274 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007996/1.127, allocations: 1.199 MB / 1.275 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005646/1.128, allocations: 47.61 kB / 1.275 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.854e-05/1.128, allocations: 23.98 kB / 1.275 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003739/1.128, allocations: 247.6 kB / 1.275 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000328/1.128, allocations: 285.9 kB / 1.275 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004573/1.129, allocations: 361.8 kB / 1.276 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.508e-06/1.129, allocations: 0 / 1.276 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007584/1.13, allocations: 440.5 kB / 1.276 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/1.13, allocations: 12.03 kB / 1.276 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.13, allocations: 4 kB / 1.276 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/1.13, allocations: 8 kB / 1.276 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004255/1.134, allocations: 0.671 MB / 1.277 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007705/1.135, allocations: 1.207 MB / 1.278 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000541/1.135, allocations: 39.67 kB / 1.278 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/1.135, allocations: 27.94 kB / 1.278 GB, free: 6.867 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.0002076/1.136, allocations: 212.1 kB / 1.278 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/1.136, allocations: 71.16 kB / 1.278 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009227/1.137, allocations: 384.2 kB / 1.279 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/1.137, allocations: 3.938 kB / 1.279 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/1.137, allocations: 0 / 1.279 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003529/1.137, allocations: 168.1 kB / 1.279 GB, free: 6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/1.137, allocations: 11.98 kB / 1.279 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/1.137, allocations: 4 kB / 1.279 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/1.138, allocations: 11.98 kB / 1.279 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000504/1.138, allocations: 356.7 kB / 1.279 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006005/1.139, allocations: 493.6 kB / 1.28 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001544/1.139, allocations: 107.9 kB / 1.28 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007555/1.14, allocations: 0.499 MB / 1.28 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of Backend: time 6.61e-07/1.14, allocations: 4 kB / 1.28 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01482/1.154, allocations: 2.522 MB / 1.283 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of SimCode: time 0.003237/1.158, allocations: 1.673 MB / 1.284 GB, free: 276 kB / 0.9981 GB Notification: Performance of Templates: time 0.02773/1.185, allocations: 14.61 MB / 1.299 GB, free: 1.82 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