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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001864/0.001864, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002467/0.002467, allocations: 196.1 kB / 16.53 MB, free: 6.699 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.508/1.508, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.966/2.966, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.8 kB / 0.912 GB, free: 33.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3923, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.03229/0.4247, allocations: 28.9 MB / 1.096 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01168/0.4364, allocations: 6.798 MB / 1.103 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.4383, allocations: 39.75 kB / 1.103 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001671/0.4399, allocations: 397.1 kB / 1.104 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005207/0.4452, allocations: 1.317 MB / 1.105 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.4475, allocations: 0.6302 MB / 1.105 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003583/0.4511, allocations: 2.148 MB / 1.107 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009256/0.452, allocations: 0.5361 MB / 1.108 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/0.4538, allocations: 0.7937 MB / 1.109 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007165/0.4545, allocations: 0.5288 MB / 1.109 GB, free: 164 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.295e-05/0.4546, allocations: 40 kB / 1.109 GB, free: 124 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002322/0.4569, allocations: 0.9824 MB / 1.11 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.4571, allocations: 155.3 kB / 1.11 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004302/0.4576, allocations: 381.8 kB / 1.111 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.4595, allocations: 1.203 MB / 1.112 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.4595, allocations: 7.938 kB / 1.112 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.465e-06/0.4595, allocations: 0 / 1.112 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.4595, allocations: 4 kB / 1.112 GB, free: 13.39 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.001646/0.4612, allocations: 1.13 MB / 1.113 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.4612, allocations: 12.03 kB / 1.113 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.4614, allocations: 87.89 kB / 1.113 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.4627, allocations: 0.7415 MB / 1.114 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.4628, allocations: 29 kB / 1.114 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/0.4629, allocations: 40 kB / 1.114 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005108/0.4634, allocations: 322.5 kB / 1.114 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.4634, allocations: 4 kB / 1.114 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.4634, allocations: 16 kB / 1.114 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.4635, allocations: 8 kB / 1.114 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/0.4638, allocations: 239.9 kB / 1.115 GB, free: 10.68 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.001923/0.4658, allocations: 1.457 MB / 1.116 GB, free: 9.102 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.466, allocations: 151.8 kB / 1.116 GB, free: 8.945 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.4662, allocations: 104.8 kB / 1.116 GB, free: 8.84 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006711/0.4668, allocations: 0.8194 MB / 1.117 GB, free: 7.836 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.4669, allocations: 46.5 kB / 1.117 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.734e-06/0.4669, allocations: 0 / 1.117 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.0005629/0.4675, allocations: 311.4 kB / 1.117 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.4675, allocations: 51.41 kB / 1.117 GB, free: 7.41 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008218/0.4683, allocations: 0.7235 MB / 1.118 GB, free: 6.676 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.4684, allocations: 29.7 kB / 1.118 GB, free: 6.641 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.4687, allocations: 367.6 kB / 1.119 GB, free: 6.277 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.4687, allocations: 67.03 kB / 1.119 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.4689, allocations: 102 kB / 1.119 GB, free: 6.105 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.469, allocations: 318 kB / 1.119 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.4692, allocations: 110.5 kB / 1.119 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.4695, allocations: 277.9 kB / 1.119 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.47, allocations: 352 kB / 1.12 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.47, allocations: 0 / 1.12 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006771/0.4707, allocations: 444.2 kB / 1.12 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.4707, allocations: 9.406 kB / 1.12 GB, free: 4.488 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.4707, allocations: 11.88 kB / 1.12 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.4707, allocations: 8 kB / 1.12 GB, free: 4.469 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004424/0.4752, allocations: 0.683 MB / 1.121 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008169/0.476, allocations: 1.199 MB / 1.122 GB, free: 2.539 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/0.4765, allocations: 43.58 kB / 1.122 GB, free: 2.496 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.4766, allocations: 32.17 kB / 1.122 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003777/0.477, allocations: 246.5 kB / 1.122 GB, free: 2.223 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002964/0.4773, allocations: 277.7 kB / 1.123 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004063/0.4777, allocations: 349.8 kB / 1.123 GB, free: 1.469 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.328e-06/0.4777, allocations: 4 kB / 1.123 GB, free: 1.465 MB / 0.8731 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006509/0.4784, allocations: 440.4 kB / 1.123 GB, free: 1.027 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.4784, allocations: 4 kB / 1.123 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.4784, allocations: 11.98 kB / 1.123 GB, free: 1.012 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/0.4784, allocations: 4 kB / 1.123 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004171/0.4826, allocations: 0.6752 MB / 1.124 GB, free: 340 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000697/0.4833, allocations: 1.211 MB / 1.125 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004032/0.4837, allocations: 31.83 kB / 1.125 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.4838, allocations: 20 kB / 1.125 GB, free: 15.02 MB / 0.8887 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.0001982/0.484, allocations: 220.2 kB / 1.125 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.4841, allocations: 75.05 kB / 1.125 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006571/0.4848, allocations: 385.9 kB / 1.126 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.4848, allocations: 3.938 kB / 1.126 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4848, allocations: 7.938 kB / 1.126 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4848, allocations: 4 kB / 1.126 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.4861, allocations: 0.9927 MB / 1.127 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.4861, allocations: 8 kB / 1.127 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.763e-05/0.4862, allocations: 31.92 kB / 1.127 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.4862, allocations: 4 kB / 1.127 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.4862, allocations: 8 kB / 1.127 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.4862, allocations: 4 kB / 1.127 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4862, allocations: 0 / 1.127 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004853/0.4867, allocations: 465.9 kB / 1.127 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.4869, allocations: 164.2 kB / 1.127 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.13e-05/0.487, allocations: 7.984 kB / 1.128 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.4872, allocations: 15.94 kB / 1.128 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.4873, allocations: 31.84 kB / 1.128 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.4873, allocations: 8 kB / 1.128 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005916/0.4879, allocations: 0.4951 MB / 1.128 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4879, allocations: 0 / 1.128 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001079/0.489, allocations: 391.4 kB / 1.128 GB, free: 11.58 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.0007628/0.4898, allocations: 389.7 kB / 1.129 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01273/0.5025, allocations: 2.233 MB / 1.131 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.5025, allocations: 0 / 1.131 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.5028, allocations: 119.9 kB / 1.131 GB, free: 8.844 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.5044, allocations: 292.3 kB / 1.131 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.5062, allocations: 1.094 MB / 1.132 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.5067, allocations: 0.9255 MB / 1.133 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005664/0.5073, allocations: 177.4 kB / 1.133 GB, free: 6.285 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.5074, allocations: 55.42 kB / 1.134 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of SimCode: time 7.71e-07/0.5074, allocations: 0 / 1.134 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of Templates: time 0.02504/0.5325, allocations: 13.55 MB / 1.147 GB, free: 8.844 MB / 0.9044 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