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.001675/0.001675, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002145/0.002145, allocations: 192.8 kB / 16.13 MB, free: 6.652 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.462/1.462, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.974/2.974, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 68.28 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.374, allocations: 157.4 MB / 1.052 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.02916/0.4032, allocations: 28.78 MB / 1.08 GB, free: 12 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01012/0.4133, allocations: 6.83 MB / 1.087 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.4147, allocations: 31.81 kB / 1.087 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.4159, allocations: 330 kB / 1.087 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0036/0.4195, allocations: 1.202 MB / 1.088 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.4213, allocations: 0.5632 MB / 1.089 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003559/0.4249, allocations: 2.74 MB / 1.092 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008325/0.4257, allocations: 472.5 kB / 1.092 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.4273, allocations: 0.7466 MB / 1.093 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007546/0.4281, allocations: 0.5365 MB / 1.093 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.396e-05/0.4282, allocations: 24 kB / 1.093 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.4302, allocations: 0.9471 MB / 1.094 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.4304, allocations: 139.2 kB / 1.094 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004159/0.4308, allocations: 358 kB / 1.095 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.4328, allocations: 1.195 MB / 1.096 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4328, allocations: 0 / 1.096 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.22e-07/0.4329, allocations: 0 / 1.096 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.4329, allocations: 0 / 1.096 GB, free: 11.85 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.001701/0.4346, allocations: 1.136 MB / 1.097 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.4346, allocations: 8.031 kB / 1.097 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.4348, allocations: 91.84 kB / 1.097 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.4361, allocations: 0.7338 MB / 1.098 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/0.4362, allocations: 33 kB / 1.098 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/0.4362, allocations: 36 kB / 1.098 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/0.4368, allocations: 318.5 kB / 1.098 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.4368, allocations: 4 kB / 1.098 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.4369, allocations: 12 kB / 1.098 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.4369, allocations: 8 kB / 1.098 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/0.4373, allocations: 235.9 kB / 1.098 GB, free: 9.156 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.001924/0.4392, allocations: 1.469 MB / 1.1 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.4395, allocations: 154.4 kB / 1.1 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.4396, allocations: 108.8 kB / 1.1 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006126/0.4402, allocations: 0.8155 MB / 1.101 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.4403, allocations: 30.56 kB / 1.101 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.734e-06/0.4403, allocations: 0 / 1.101 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.0005868/0.4409, allocations: 310.2 kB / 1.101 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.4409, allocations: 59.34 kB / 1.101 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008161/0.4417, allocations: 0.7157 MB / 1.102 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.4418, allocations: 37.7 kB / 1.102 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.4421, allocations: 359.6 kB / 1.102 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.547e-05/0.4421, allocations: 78.94 kB / 1.102 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.4423, allocations: 94.03 kB / 1.103 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.4424, allocations: 322 kB / 1.103 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.4426, allocations: 106.5 kB / 1.103 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.4429, allocations: 287.8 kB / 1.103 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/0.4434, allocations: 348 kB / 1.104 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4434, allocations: 0 / 1.104 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007007/0.4441, allocations: 440.3 kB / 1.104 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.4441, allocations: 8.438 kB / 1.104 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.4441, allocations: 7.938 kB / 1.104 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.4441, allocations: 8.141 kB / 1.104 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00484/0.449, allocations: 0.6787 MB / 1.105 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007826/0.4498, allocations: 1.207 MB / 1.106 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000565/0.4504, allocations: 51.58 kB / 1.106 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.165e-05/0.4504, allocations: 23.98 kB / 1.106 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003754/0.4508, allocations: 248.9 kB / 1.106 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003009/0.4511, allocations: 285.8 kB / 1.106 GB, free: 332 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004162/0.4516, allocations: 349.7 kB / 1.107 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.254e-06/0.4516, allocations: 0 / 1.107 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006986/0.4523, allocations: 436.7 kB / 1.107 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.4523, allocations: 12.03 kB / 1.107 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4523, allocations: 4 kB / 1.107 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.116e-06/0.4523, allocations: 8.234 kB / 1.107 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004563/0.4569, allocations: 0.6787 MB / 1.108 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007613/0.4577, allocations: 1.207 MB / 1.109 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005459/0.4582, allocations: 39.77 kB / 1.109 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.583e-05/0.4583, allocations: 24 kB / 1.109 GB, free: 13.46 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.0002333/0.4585, allocations: 216.1 kB / 1.109 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.4587, allocations: 71.06 kB / 1.109 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006887/0.4594, allocations: 386.7 kB / 1.11 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.4594, allocations: 4 kB / 1.11 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4594, allocations: 3.938 kB / 1.11 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.4594, allocations: 4 kB / 1.11 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.4608, allocations: 1.002 MB / 1.111 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.4608, allocations: 4.188 kB / 1.111 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.102e-05/0.4609, allocations: 43.91 kB / 1.111 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.461, allocations: 0 / 1.111 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.461, allocations: 8 kB / 1.111 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.461, allocations: 4 kB / 1.111 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.461, allocations: 4 kB / 1.111 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.4615, allocations: 469.9 kB / 1.111 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.4617, allocations: 164.2 kB / 1.111 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.173e-05/0.4618, allocations: 11.98 kB / 1.111 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/0.4621, allocations: 15.94 kB / 1.111 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.4621, allocations: 31.84 kB / 1.111 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.4622, allocations: 8 kB / 1.111 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000606/0.4628, allocations: 0.499 MB / 1.112 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4628, allocations: 0 / 1.112 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001288/0.4641, allocations: 387.4 kB / 1.112 GB, free: 10.01 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.0008167/0.4649, allocations: 383.5 kB / 1.113 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01442/0.4793, allocations: 2.214 MB / 1.115 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.4794, allocations: 4 kB / 1.115 GB, free: 7.418 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.4796, allocations: 125.2 kB / 1.115 GB, free: 7.297 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.4812, allocations: 282.5 kB / 1.115 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.483, allocations: 1.294 MB / 1.117 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.4835, allocations: 0.9258 MB / 1.117 GB, free: 4.727 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005852/0.4841, allocations: 177.4 kB / 1.118 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.4842, allocations: 51.42 kB / 1.118 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of SimCode: time 1.012e-06/0.4842, allocations: 4 kB / 1.118 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of Templates: time 0.02268/0.5069, allocations: 13.1 MB / 1.13 GB, free: 7.551 MB / 0.8887 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