Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001422/0.001422, allocations: 104.3 kB / 16.27 MB, free: 6.406 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.001354/0.001354, allocations: 193.5 kB / 17.2 MB, free: 5.969 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.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.198/2.198, allocations: 390.3 MB / 0.6653 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.91 kB / 0.8132 GB, free: 33.18 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2741, allocations: 140.4 MB / 0.9503 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03234/0.3065, allocations: 32.77 MB / 0.9823 GB, free: 7.961 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01482/0.3213, allocations: 10.49 MB / 0.9925 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.3232, allocations: 47.75 kB / 0.9926 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002225/0.3254, allocations: 0.7305 MB / 0.9933 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004198/0.3297, allocations: 1.563 MB / 0.9948 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00351/0.3332, allocations: 1.418 MB / 0.9962 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005764/0.339, allocations: 4.865 MB / 1.001 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003544/0.3426, allocations: 2.066 MB / 1.003 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005291/0.3479, allocations: 1.901 MB / 1.005 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002273/0.3502, allocations: 1.357 MB / 1.006 GB, free: 15.43 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005701/0.3508, allocations: 143.9 kB / 1.006 GB, free: 15.29 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002963/0.3538, allocations: 1.155 MB / 1.007 GB, free: 14.14 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000792/0.3546, allocations: 478.2 kB / 1.008 GB, free: 13.67 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.3561, allocations: 1.007 MB / 1.009 GB, free: 12.66 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004117/0.3603, allocations: 2.909 MB / 1.012 GB, free: 9.738 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3603, allocations: 0 / 1.012 GB, free: 9.738 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3603, allocations: 0 / 1.012 GB, free: 9.738 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.257e-05/0.3603, allocations: 0 / 1.012 GB, free: 9.738 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.004056/0.3644, allocations: 2.377 MB / 1.014 GB, free: 7.293 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3645, allocations: 8.031 kB / 1.014 GB, free: 7.285 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.3662, allocations: 398.1 kB / 1.014 GB, free: 6.895 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003122/0.3694, allocations: 1.645 MB / 1.016 GB, free: 5.203 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-05/0.3695, allocations: 82 kB / 1.016 GB, free: 5.121 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.3697, allocations: 104 kB / 1.016 GB, free: 5.02 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/0.3719, allocations: 1.319 MB / 1.017 GB, free: 3.625 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.3719, allocations: 0 / 1.017 GB, free: 3.625 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.3721, allocations: 40 kB / 1.017 GB, free: 3.586 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.3721, allocations: 24 kB / 1.018 GB, free: 3.562 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.3741, allocations: 1.019 MB / 1.019 GB, free: 2.539 MB / 0.795 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.008344/0.3825, allocations: 6.591 MB / 1.025 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.3839, allocations: 0.6342 MB / 1.026 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007491/0.3847, allocations: 405.8 kB / 1.026 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002695/0.3874, allocations: 1.704 MB / 1.028 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008166/0.3882, allocations: 383.2 kB / 1.028 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004828/0.3887, allocations: 87.25 kB / 1.028 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=45): time 2.505e-06/0.3887, allocations: 0 / 1.028 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of matching and sorting (n=45): time 0.003682/0.3924, allocations: 1.375 MB / 1.029 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.3925, allocations: 67.41 kB / 1.029 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00241/0.3949, allocations: 1.789 MB / 1.031 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.395, allocations: 41.7 kB / 1.031 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008026/0.3959, allocations: 0.8537 MB / 1.032 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.3961, allocations: 161.8 kB / 1.032 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000315/0.3964, allocations: 190.4 kB / 1.032 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3965, allocations: 334 kB / 1.033 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007912/0.3973, allocations: 344.6 kB / 1.033 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.3985, allocations: 0.7636 MB / 1.034 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.4003, allocations: 1.027 MB / 1.035 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.4003, allocations: 4 kB / 1.035 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002956/0.4032, allocations: 1.351 MB / 1.036 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.982e-05/0.4033, allocations: 41.64 kB / 1.036 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.4033, allocations: 8 kB / 1.036 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006953/0.404, allocations: 196.8 kB / 1.036 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006957/0.4047, allocations: 171.7 kB / 1.037 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007227/0.4055, allocations: 0.7553 MB / 1.037 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.4066, allocations: 76.41 kB / 1.037 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-05/0.4067, allocations: 43.98 kB / 1.037 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001351/0.4081, allocations: 0.7321 MB / 1.038 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00102/0.4091, allocations: 0.7284 MB / 1.039 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001583/0.4107, allocations: 0.9678 MB / 1.04 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.181e-05/0.4107, allocations: 4 kB / 1.04 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002572/0.4133, allocations: 1.304 MB / 1.041 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.802e-05/0.4134, allocations: 49.62 kB / 1.041 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.4134, allocations: 8 kB / 1.041 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002529/0.4136, allocations: 121.3 kB / 1.041 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/0.4143, allocations: 175.7 kB / 1.041 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/0.4167, allocations: 2.318 MB / 1.044 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.4178, allocations: 60.62 kB / 1.044 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.153e-05/0.4179, allocations: 39.98 kB / 1.044 GB, free: 7.055 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 81 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0003362/0.4183, allocations: 249.3 kB / 1.044 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004607/0.4187, allocations: 181.9 kB / 1.044 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002539/0.4213, allocations: 1.029 MB / 1.045 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.4213, allocations: 11.98 kB / 1.045 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4213, allocations: 0 / 1.045 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001731/0.4231, allocations: 0.9936 MB / 1.046 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004473/0.4275, allocations: 2.171 MB / 1.048 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.4276, allocations: 0 / 1.048 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005095/0.4281, allocations: 99.84 kB / 1.048 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003113/0.4284, allocations: 124.8 kB / 1.048 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.117e-05/0.4285, allocations: 11.98 kB / 1.048 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006343/0.4291, allocations: 0.7357 MB / 1.049 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.4292, allocations: 7.969 kB / 1.049 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002907/0.4321, allocations: 1.407 MB / 1.051 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007362/0.4328, allocations: 302.8 kB / 1.051 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003676/0.4332, allocations: 8 kB / 1.051 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008549/0.4341, allocations: 43.94 kB / 1.051 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.4342, allocations: 44.31 kB / 1.051 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.258e-05/0.4343, allocations: 19.98 kB / 1.051 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002179/0.4365, allocations: 1.247 MB / 1.052 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.31e-07/0.4365, allocations: 0 / 1.052 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00285/0.4393, allocations: 0.7914 MB / 1.053 GB, free: 13.33 MB / 0.8419 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 (39): * Single equations (assignments): 33 * 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.001172/0.4405, allocations: 392.6 kB / 1.053 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003657/0.4442, allocations: 1.578 MB / 1.055 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.4442, allocations: 4 kB / 1.055 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008509/0.4451, allocations: 359.7 kB / 1.055 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003923/0.449, allocations: 0.7737 MB / 1.056 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005744/0.4548, allocations: 2.995 MB / 1.059 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.4561, allocations: 1.476 MB / 1.06 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004402/0.4566, allocations: 135.4 kB / 1.06 GB, free: 5.539 MB / 0.8419 GB Notification: Performance of SimCode: time 1.022e-06/0.4566, allocations: 0 / 1.06 GB, free: 5.539 MB / 0.8419 GB Notification: Performance of Templates: time 0.4983/0.9549, allocations: 37.42 MB / 1.097 GB, free: 126 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches