Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Experimental.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.Experimental.DHC.Networks.Pipes.Validation.Pipe") translateModel(Buildings.Experimental.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.Experimental.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.001161/0.001161, allocations: 100.1 kB / 15.88 MB, free: 12 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.001207/0.001207, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.337/1.337, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.605/2.605, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 64.95 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2907, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe): time 0.03105/0.3218, allocations: 28.77 MB / 1.081 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009699/0.3316, allocations: 6.835 MB / 1.088 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.333, allocations: 39.75 kB / 1.088 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.3344, allocations: 330 kB / 1.088 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003822/0.3383, allocations: 1.204 MB / 1.089 GB, free: 3.004 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.3403, allocations: 0.564 MB / 1.09 GB, free: 2.441 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003732/0.344, allocations: 2.745 MB / 1.092 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009393/0.345, allocations: 476.4 kB / 1.093 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001829/0.3469, allocations: 0.7388 MB / 1.093 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009666/0.3478, allocations: 0.5365 MB / 1.094 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.348, allocations: 24 kB / 1.094 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002163/0.3502, allocations: 0.9433 MB / 1.095 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002401/0.3504, allocations: 143.3 kB / 1.095 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005809/0.351, allocations: 361.9 kB / 1.095 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.3525, allocations: 0.8809 MB / 1.096 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3525, allocations: 0 / 1.096 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3525, allocations: 0 / 1.096 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.933e-05/0.3525, allocations: 0 / 1.096 GB, free: 11.58 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.002001/0.3546, allocations: 1.144 MB / 1.097 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3546, allocations: 11.97 kB / 1.097 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.3548, allocations: 87.91 kB / 1.097 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.3564, allocations: 0.7377 MB / 1.098 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.3565, allocations: 29 kB / 1.098 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-05/0.3565, allocations: 36 kB / 1.098 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.3571, allocations: 322.5 kB / 1.099 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3571, allocations: 0 / 1.099 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.3572, allocations: 8 kB / 1.099 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.3572, allocations: 11.98 kB / 1.099 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003889/0.3576, allocations: 239.9 kB / 1.099 GB, free: 8.867 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.002032/0.3596, allocations: 1.465 MB / 1.1 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.3599, allocations: 150.4 kB / 1.1 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.36, allocations: 104.8 kB / 1.101 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005559/0.3606, allocations: 0.8233 MB / 1.101 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.3606, allocations: 30.56 kB / 1.101 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.924e-06/0.3606, allocations: 4 kB / 1.101 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.0006/0.3612, allocations: 302.2 kB / 1.102 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.3613, allocations: 59.34 kB / 1.102 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008185/0.3621, allocations: 0.7196 MB / 1.102 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.3621, allocations: 37.7 kB / 1.102 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.3624, allocations: 359.6 kB / 1.103 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.292e-05/0.3625, allocations: 74.95 kB / 1.103 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.3626, allocations: 98.02 kB / 1.103 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.3627, allocations: 325.9 kB / 1.103 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.3629, allocations: 106.5 kB / 1.103 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.3632, allocations: 279.8 kB / 1.104 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.3636, allocations: 351.9 kB / 1.104 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3636, allocations: 4 kB / 1.104 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007247/0.3644, allocations: 440.3 kB / 1.104 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.3644, allocations: 8 kB / 1.104 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3644, allocations: 8.375 kB / 1.104 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.3644, allocations: 8 kB / 1.104 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004768/0.3692, allocations: 0.6787 MB / 1.105 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007368/0.37, allocations: 1.199 MB / 1.106 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005898/0.3706, allocations: 55.91 kB / 1.106 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.476e-05/0.3707, allocations: 27.98 kB / 1.106 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003661/0.371, allocations: 240.9 kB / 1.107 GB, free: 404 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002956/0.3714, allocations: 285.7 kB / 1.107 GB, free: 36 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004182/0.3718, allocations: 357.7 kB / 1.107 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.876e-06/0.3718, allocations: 0 / 1.107 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000718/0.3725, allocations: 436.2 kB / 1.108 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3725, allocations: 12.38 kB / 1.108 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3726, allocations: 8 kB / 1.108 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.3726, allocations: 8 kB / 1.108 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004515/0.3771, allocations: 0.6787 MB / 1.108 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006858/0.3778, allocations: 1.203 MB / 1.109 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.3784, allocations: 40.05 kB / 1.109 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-05/0.3784, allocations: 24 kB / 1.109 GB, free: 13.17 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.0001728/0.3786, allocations: 214 kB / 1.11 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.3788, allocations: 79.14 kB / 1.11 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006554/0.3795, allocations: 380.2 kB / 1.11 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.3795, allocations: 7.984 kB / 1.11 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3795, allocations: 3.938 kB / 1.11 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.3795, allocations: 0 / 1.11 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.3808, allocations: 1.005 MB / 1.111 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.3809, allocations: 4 kB / 1.111 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.145e-05/0.381, allocations: 32.17 kB / 1.111 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.381, allocations: 4 kB / 1.111 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.381, allocations: 12 kB / 1.111 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.381, allocations: 0 / 1.111 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.381, allocations: 4 kB / 1.111 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004819/0.3815, allocations: 465.2 kB / 1.112 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.3817, allocations: 172.2 kB / 1.112 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.586e-05/0.3818, allocations: 8 kB / 1.112 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.3821, allocations: 23.92 kB / 1.112 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.3822, allocations: 23.86 kB / 1.112 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.3822, allocations: 8 kB / 1.112 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000569/0.3828, allocations: 0.5029 MB / 1.112 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3828, allocations: 0 / 1.112 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0011/0.3839, allocations: 387.4 kB / 1.113 GB, free: 9.715 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.0007972/0.3847, allocations: 390.6 kB / 1.113 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01423/0.3989, allocations: 2.209 MB / 1.115 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.399, allocations: 0 / 1.115 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.3992, allocations: 120.9 kB / 1.115 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.4009, allocations: 290.6 kB / 1.116 GB, free: 6.723 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.4027, allocations: 1.331 MB / 1.117 GB, free: 5.336 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.4032, allocations: 0.9141 MB / 1.118 GB, free: 4.395 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.4034, allocations: 59.42 kB / 1.118 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of SimCode: time 6.52e-07/0.4034, allocations: 4 kB / 1.118 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of Templates: time 0.02214/0.4255, allocations: 14.87 MB / 1.132 GB, free: 5.566 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.sim & ./Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Networks_Pipes_Validation_Pipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Experimental.DHC.Networks.Pipes.Validation.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches