Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example3.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001391/0.001391, allocations: 182.9 kB / 17.35 MB, free: 5.625 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.457/1.457, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.44/2.44, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 63.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.806/0.8075, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03122/0.8387, allocations: 33.2 MB / 1.2 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01669/0.8554, allocations: 12.31 MB / 1.212 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/0.8572, allocations: 47.75 kB / 1.212 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004031/0.8612, allocations: 1.544 MB / 1.213 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004306/0.8655, allocations: 1.774 MB / 1.215 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003331/0.8689, allocations: 1.513 MB / 1.217 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01001/0.8789, allocations: 7.797 MB / 1.224 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003099/0.882, allocations: 2.109 MB / 1.226 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004162/0.8862, allocations: 1.949 MB / 1.228 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002523/0.8887, allocations: 1.424 MB / 1.229 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005899/0.8893, allocations: 152 kB / 1.23 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003375/0.8927, allocations: 1.353 MB / 1.231 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0009394/0.8937, allocations: 0.5956 MB / 1.232 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002072/0.8958, allocations: 1.209 MB / 1.233 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006094/0.9019, allocations: 3.553 MB / 1.236 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.9019, allocations: 0 / 1.236 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9019, allocations: 0 / 1.236 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001077/0.902, allocations: 0 / 1.236 GB, free: 13.08 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.005965/0.908, allocations: 2.895 MB / 1.239 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.9081, allocations: 20.86 kB / 1.239 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/0.9103, allocations: 442.1 kB / 1.239 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005525/0.9158, allocations: 2.785 MB / 1.242 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.916, allocations: 78 kB / 1.242 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003845/0.9164, allocations: 112 kB / 1.242 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002841/0.9192, allocations: 1.323 MB / 1.244 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/0.9193, allocations: 3.938 kB / 1.244 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.9194, allocations: 40 kB / 1.244 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.9195, allocations: 24 kB / 1.244 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002484/0.922, allocations: 1.019 MB / 1.245 GB, free: 4.129 MB / 0.9669 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.01009/0.9321, allocations: 6.914 MB / 1.251 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.9336, allocations: 0.5893 MB / 1.252 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007877/0.9344, allocations: 401.8 kB / 1.252 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003298/0.9377, allocations: 1.782 MB / 1.254 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008294/0.9386, allocations: 359 kB / 1.254 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006677/0.9392, allocations: 99.38 kB / 1.255 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 3.606e-06/0.9393, allocations: 0 / 1.255 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.003931/0.9432, allocations: 1.377 MB / 1.256 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.9432, allocations: 59.41 kB / 1.256 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003971/0.9472, allocations: 2.38 MB / 1.258 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.9474, allocations: 41.7 kB / 1.258 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.9484, allocations: 1.001 MB / 1.259 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.9486, allocations: 170.6 kB / 1.259 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000499/0.9491, allocations: 302.6 kB / 1.26 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.9493, allocations: 361.9 kB / 1.26 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009739/0.9503, allocations: 0.4978 MB / 1.261 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.9516, allocations: 0.9893 MB / 1.262 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/0.9537, allocations: 1.335 MB / 1.263 GB, free: 464 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.9538, allocations: 4 kB / 1.263 GB, free: 460 kB / 0.9825 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.00365/0.9574, allocations: 1.812 MB / 1.265 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.011e-05/0.9575, allocations: 45.64 kB / 1.265 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.9575, allocations: 12 kB / 1.265 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006968/0.9582, allocations: 189.1 kB / 1.265 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000829/0.9591, allocations: 227.6 kB / 1.265 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000807/0.9599, allocations: 0.7665 MB / 1.266 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.9612, allocations: 67.95 kB / 1.266 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.9614, allocations: 63.92 kB / 1.266 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00175/0.9631, allocations: 1.025 MB / 1.267 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001239/0.9644, allocations: 0.9617 MB / 1.268 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001911/0.9663, allocations: 1.307 MB / 1.269 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.364e-05/0.9663, allocations: 4 kB / 1.269 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.003201/0.9695, allocations: 1.802 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.286e-05/0.9696, allocations: 37.7 kB / 1.271 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.9696, allocations: 11.98 kB / 1.271 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002526/0.9699, allocations: 128.8 kB / 1.271 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007862/0.9707, allocations: 224 kB / 1.271 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/0.9731, allocations: 2.329 MB / 1.274 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.9745, allocations: 88.56 kB / 1.274 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.9746, allocations: 55.97 kB / 1.274 GB, free: 4.699 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 114 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003084/0.9749, allocations: 251.9 kB / 1.274 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004735/0.9754, allocations: 222.5 kB / 1.274 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/0.9778, allocations: 1.033 MB / 1.275 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001741/0.9796, allocations: 0.9584 MB / 1.276 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.9796, allocations: 0 / 1.276 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007666/0.9804, allocations: 367.5 kB / 1.276 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003758/0.9807, allocations: 11.98 kB / 1.277 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008959/0.9817, allocations: 43.91 kB / 1.277 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.9818, allocations: 52.36 kB / 1.277 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002185/0.984, allocations: 0.8866 MB / 1.277 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002504/0.9865, allocations: 1.322 MB / 1.279 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006927/0.9872, allocations: 303.2 kB / 1.279 GB, free: 15.13 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003566/0.9908, allocations: 1.627 MB / 1.281 GB, free: 13.49 MB / 1.014 GB Notification: Performance of Backend: time 7.32e-07/0.9908, allocations: 7.938 kB / 1.281 GB, free: 13.48 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006471/0.9973, allocations: 2.324 MB / 1.283 GB, free: 11.13 MB / 1.014 GB Notification: Performance of SimCode: time 0.009349/1.007, allocations: 4.875 MB / 1.288 GB, free: 6.215 MB / 1.014 GB Notification: Performance of Templates: time 0.07393/1.081, allocations: 43.45 MB / 1.33 GB, free: 11.22 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches