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.001464/0.001464, allocations: 111.5 kB / 16.41 MB, free: 6.488 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.001539/0.00154, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.15 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.407/2.407, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 60.12 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8107/0.8122, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.04002/0.8522, allocations: 33.21 MB / 1.2 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02118/0.8735, allocations: 12.31 MB / 1.212 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002928/0.8764, allocations: 47.75 kB / 1.212 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005675/0.8821, allocations: 1.534 MB / 1.213 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00609/0.8883, allocations: 1.786 MB / 1.215 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004468/0.8927, allocations: 1.51 MB / 1.216 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0125/0.9053, allocations: 7.796 MB / 1.224 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004223/0.9095, allocations: 2.109 MB / 1.226 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00574/0.9153, allocations: 1.945 MB / 1.228 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003213/0.9186, allocations: 1.439 MB / 1.229 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0007731/0.9194, allocations: 148 kB / 1.23 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004268/0.9237, allocations: 1.349 MB / 1.231 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001309/0.925, allocations: 0.5955 MB / 1.232 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002979/0.928, allocations: 1.205 MB / 1.233 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006798/0.9348, allocations: 3.536 MB / 1.236 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.9349, allocations: 3.938 kB / 1.236 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9349, allocations: 4 kB / 1.236 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001336/0.935, allocations: 0 / 1.236 GB, free: 13.09 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.007147/0.9422, allocations: 2.807 MB / 1.239 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.9422, allocations: 12.88 kB / 1.239 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/0.9447, allocations: 440.6 kB / 1.239 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006683/0.9514, allocations: 2.755 MB / 1.242 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.9516, allocations: 86 kB / 1.242 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003922/0.952, allocations: 104 kB / 1.242 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002899/0.9549, allocations: 1.322 MB / 1.243 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.684e-05/0.955, allocations: 7.938 kB / 1.243 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.9551, allocations: 40 kB / 1.244 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.9551, allocations: 27.98 kB / 1.244 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.9575, allocations: 1.019 MB / 1.245 GB, free: 4.258 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.01038/0.9679, allocations: 6.898 MB / 1.251 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.9695, allocations: 0.5992 MB / 1.252 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007841/0.9703, allocations: 397.8 kB / 1.252 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003636/0.9739, allocations: 1.766 MB / 1.254 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008305/0.9748, allocations: 367 kB / 1.254 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007437/0.9756, allocations: 87.19 kB / 1.254 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 5.781e-06/0.9756, allocations: 0 / 1.254 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.004074/0.9797, allocations: 1.38 MB / 1.256 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.9798, allocations: 55.41 kB / 1.256 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004327/0.9841, allocations: 2.387 MB / 1.258 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.9843, allocations: 45.69 kB / 1.258 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.9853, allocations: 0.9841 MB / 1.259 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.9856, allocations: 161.8 kB / 1.259 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005396/0.9861, allocations: 290.6 kB / 1.26 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.9863, allocations: 361.9 kB / 1.26 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.9873, allocations: 0.5018 MB / 1.26 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.9888, allocations: 0.9892 MB / 1.261 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/0.9909, allocations: 1.339 MB / 1.263 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/0.9909, allocations: 4 kB / 1.263 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003767/0.9947, allocations: 1.799 MB / 1.264 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.821e-05/0.9948, allocations: 38.45 kB / 1.264 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/0.9948, allocations: 15.98 kB / 1.265 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007302/0.9955, allocations: 188.7 kB / 1.265 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008483/0.9964, allocations: 227.6 kB / 1.265 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007317/0.9971, allocations: 0.7642 MB / 1.266 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.9986, allocations: 72.02 kB / 1.266 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.9988, allocations: 59.98 kB / 1.266 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001744/1.001, allocations: 1.018 MB / 1.267 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001301/1.002, allocations: 0.9655 MB / 1.268 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001875/1.004, allocations: 1.303 MB / 1.269 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.438e-05/1.004, allocations: 7.938 kB / 1.269 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.003358/1.007, allocations: 1.797 MB / 1.271 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/1.007, allocations: 40.86 kB / 1.271 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/1.007, allocations: 12 kB / 1.271 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000265/1.007, allocations: 127.5 kB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007887/1.008, allocations: 223.6 kB / 1.271 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/1.011, allocations: 2.326 MB / 1.273 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/1.012, allocations: 84.36 kB / 1.273 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/1.013, allocations: 55.98 kB / 1.274 GB, free: 4.902 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.0004252/1.013, allocations: 258.3 kB / 1.274 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006433/1.014, allocations: 217.2 kB / 1.274 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/1.016, allocations: 1.021 MB / 1.275 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/1.016, allocations: 8 kB / 1.275 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/1.016, allocations: 0 / 1.275 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00164/1.018, allocations: 0.9661 MB / 1.276 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005292/1.023, allocations: 2.308 MB / 1.278 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.023, allocations: 0 / 1.278 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/1.024, allocations: 95.84 kB / 1.278 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003242/1.024, allocations: 117 kB / 1.278 GB, free: 15.76 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-05/1.024, allocations: 19.98 kB / 1.278 GB, free: 15.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000605/1.025, allocations: 0.7396 MB / 1.279 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.025, allocations: 3.938 kB / 1.279 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00286/1.028, allocations: 1.412 MB / 1.281 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009666/1.029, allocations: 354.2 kB / 1.281 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004466/1.029, allocations: 8 kB / 1.281 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/1.03, allocations: 48.02 kB / 1.281 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/1.03, allocations: 44.38 kB / 1.281 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-05/1.03, allocations: 19.98 kB / 1.281 GB, free: 13.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003087/1.033, allocations: 1.631 MB / 1.283 GB, free: 11.41 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.3e-07/1.034, allocations: 0 / 1.283 GB, free: 11.41 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003311/1.037, allocations: 0.9516 MB / 1.283 GB, free: 10.45 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.001285/1.038, allocations: 0.5123 MB / 1.284 GB, free: 9.938 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003944/1.042, allocations: 2.026 MB / 1.286 GB, free: 7.879 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.042, allocations: 0 / 1.286 GB, free: 7.879 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008432/1.043, allocations: 335.1 kB / 1.286 GB, free: 7.555 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004701/1.048, allocations: 0.9745 MB / 1.287 GB, free: 6.598 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008525/1.056, allocations: 3.718 MB / 1.291 GB, free: 2.832 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001667/1.058, allocations: 1.674 MB / 1.293 GB, free: 1.125 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006345/1.059, allocations: 167.4 kB / 1.293 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of SimCode: time 5.81e-07/1.059, allocations: 0 / 1.293 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of Templates: time 0.06959/1.128, allocations: 45.45 MB / 1.337 GB, free: 3.746 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