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.001537/0.001537, allocations: 106.6 kB / 16.27 MB, free: 5.984 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.001518/0.001518, allocations: 189 kB / 17.2 MB, free: 5.609 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.689/2.689, allocations: 469.4 MB / 0.7427 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 65.19 kB / 0.9088 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3283, allocations: 159.1 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.582/0.9103, allocations: 28.9 MB / 1.092 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009636/0.92, allocations: 6.789 MB / 1.099 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002081/0.9222, allocations: 38.34 kB / 1.099 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.9235, allocations: 412.8 kB / 1.1 GB, free: 2.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004633/0.9283, allocations: 1.317 MB / 1.101 GB, free: 2.234 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.9305, allocations: 0.6169 MB / 1.101 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004021/0.9346, allocations: 2.144 MB / 1.103 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.9356, allocations: 0.5448 MB / 1.104 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/0.9375, allocations: 0.7959 MB / 1.105 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009285/0.9385, allocations: 0.5236 MB / 1.105 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.9386, allocations: 41.84 kB / 1.105 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002815/0.9414, allocations: 0.9889 MB / 1.106 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.9417, allocations: 151.8 kB / 1.106 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006022/0.9423, allocations: 374 kB / 1.107 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.9451, allocations: 1.217 MB / 1.108 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9451, allocations: 0 / 1.108 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9451, allocations: 0 / 1.108 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.996e-05/0.9451, allocations: 0 / 1.108 GB, free: 15.04 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.002064/0.9472, allocations: 1.14 MB / 1.109 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.9472, allocations: 10.67 kB / 1.109 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.9475, allocations: 87.12 kB / 1.109 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.949, allocations: 0.7317 MB / 1.11 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.9491, allocations: 29.44 kB / 1.11 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.879e-05/0.9491, allocations: 38.12 kB / 1.11 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005941/0.9497, allocations: 321.1 kB / 1.11 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.9497, allocations: 0 / 1.11 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.9498, allocations: 15.47 kB / 1.11 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.9498, allocations: 8.562 kB / 1.11 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.9502, allocations: 235.4 kB / 1.111 GB, free: 13.46 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.002267/0.9525, allocations: 1.464 MB / 1.112 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.9528, allocations: 152.7 kB / 1.112 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.953, allocations: 107.7 kB / 1.112 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006657/0.9536, allocations: 0.8263 MB / 1.113 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.9537, allocations: 32.16 kB / 1.113 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 3.787e-06/0.9537, allocations: 3.984 kB / 1.113 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.0006944/0.9544, allocations: 310.3 kB / 1.113 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.9544, allocations: 60.88 kB / 1.113 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.9555, allocations: 0.7177 MB / 1.114 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.9555, allocations: 32.33 kB / 1.114 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/0.9559, allocations: 362.5 kB / 1.114 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.61e-05/0.9559, allocations: 75.42 kB / 1.115 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.9561, allocations: 100.5 kB / 1.115 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.9563, allocations: 322.9 kB / 1.115 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.9565, allocations: 109.8 kB / 1.115 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.9568, allocations: 280.8 kB / 1.115 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004387/0.9572, allocations: 348.7 kB / 1.116 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.9573, allocations: 1.062 kB / 1.116 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007594/0.958, allocations: 441.1 kB / 1.116 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.958, allocations: 6.688 kB / 1.116 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.9581, allocations: 5.297 kB / 1.116 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.9581, allocations: 9.719 kB / 1.116 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004791/0.9629, allocations: 0.6774 MB / 1.117 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000795/0.9637, allocations: 1.202 MB / 1.118 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006245/0.9644, allocations: 50.52 kB / 1.118 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-05/0.9644, allocations: 28.78 kB / 1.118 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004131/0.9649, allocations: 245.9 kB / 1.118 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003377/0.9652, allocations: 284.6 kB / 1.119 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004409/0.9657, allocations: 346.5 kB / 1.119 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.086e-06/0.9657, allocations: 6.031 kB / 1.119 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007577/0.9664, allocations: 438.1 kB / 1.119 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.9665, allocations: 11.44 kB / 1.119 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.9665, allocations: 4.125 kB / 1.119 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.9665, allocations: 7.484 kB / 1.119 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004558/0.971, allocations: 0.6757 MB / 1.12 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006904/0.9718, allocations: 1.206 MB / 1.121 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005973/0.9724, allocations: 37.64 kB / 1.121 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/0.9724, allocations: 23.16 kB / 1.121 GB, free: 6.004 MB / 0.8575 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.000191/0.9726, allocations: 210.5 kB / 1.121 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.9728, allocations: 77.05 kB / 1.121 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000731/0.9735, allocations: 391.6 kB / 1.122 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.9735, allocations: 4.562 kB / 1.122 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.9735, allocations: 0 / 1.122 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.9736, allocations: 5.391 kB / 1.122 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.9751, allocations: 0.9977 MB / 1.123 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.9751, allocations: 2.719 kB / 1.123 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.97e-05/0.9752, allocations: 32.08 kB / 1.123 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.9752, allocations: 2.969 kB / 1.123 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.9753, allocations: 14.64 kB / 1.123 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.299e-06/0.9753, allocations: 11.03 kB / 1.123 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.9753, allocations: 2.719 kB / 1.123 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.9759, allocations: 460.2 kB / 1.123 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.9761, allocations: 167.9 kB / 1.124 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.183e-05/0.9762, allocations: 8.078 kB / 1.124 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.9764, allocations: 7.453 kB / 1.124 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.9765, allocations: 30.3 kB / 1.124 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.9765, allocations: 14.17 kB / 1.124 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006752/0.9772, allocations: 0.4973 MB / 1.124 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9772, allocations: 0 / 1.124 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001383/0.9786, allocations: 389 kB / 1.124 GB, free: 4.16 MB / 0.8575 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.0008645/0.9795, allocations: 388.8 kB / 1.125 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01454/0.994, allocations: 2.234 MB / 1.127 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.637e-06/0.9941, allocations: 1.062 kB / 1.127 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.9943, allocations: 118.6 kB / 1.127 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.9961, allocations: 294.5 kB / 1.127 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.998, allocations: 1.124 MB / 1.128 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00055/0.9986, allocations: 0.9185 MB / 1.129 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.9988, allocations: 61.12 kB / 1.129 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.9988, allocations: 0 / 1.129 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of Templates: time 0.02685/1.026, allocations: 14.66 MB / 1.144 GB, free: 13.43 MB / 0.8731 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