Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 110.5 kB / 15.99 MB, free: 6.344 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.001556/0.001556, allocations: 195.4 kB / 16.91 MB, free: 6.176 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.238/2.238, allocations: 390.2 MB / 0.665 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 69.64 kB / 0.8127 GB, free: 32.39 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3025, allocations: 140.4 MB / 0.9498 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03281/0.3353, allocations: 29.42 MB / 0.9785 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01501/0.3504, allocations: 9.843 MB / 0.9881 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/0.3524, allocations: 43.75 kB / 0.9881 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.3548, allocations: 0.6184 MB / 0.9888 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004468/0.3594, allocations: 1.35 MB / 0.9901 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00389/0.3633, allocations: 1.27 MB / 0.9913 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005296/0.3686, allocations: 3.857 MB / 0.9951 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002329/0.3709, allocations: 1.357 MB / 0.9964 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00376/0.3747, allocations: 1.54 MB / 0.9979 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002056/0.3768, allocations: 1.085 MB / 0.999 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004274/0.3772, allocations: 116 kB / 0.9991 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002926/0.3802, allocations: 1.123 MB / 1 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006938/0.3809, allocations: 406.6 kB / 1.001 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.3824, allocations: 0.7852 MB / 1.001 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002994/0.3854, allocations: 1.863 MB / 1.003 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3854, allocations: 0 / 1.003 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3855, allocations: 0 / 1.003 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.22e-05/0.3855, allocations: 0 / 1.003 GB, free: 2.371 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004672/0.3902, allocations: 1.954 MB / 1.005 GB, free: 364 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.3903, allocations: 8.031 kB / 1.005 GB, free: 356 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00188/0.3921, allocations: 342.7 kB / 1.005 GB, free: 12 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003158/0.3953, allocations: 1.355 MB / 1.007 GB, free: 14.6 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.252e-05/0.3954, allocations: 66 kB / 1.007 GB, free: 14.54 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.3956, allocations: 84 kB / 1.007 GB, free: 14.46 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.3977, allocations: 1.008 MB / 1.008 GB, free: 13.39 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.3978, allocations: 0 / 1.008 GB, free: 13.39 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.531e-05/0.3979, allocations: 32 kB / 1.008 GB, free: 13.36 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.3979, allocations: 20 kB / 1.008 GB, free: 13.34 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.3996, allocations: 0.7572 MB / 1.009 GB, free: 12.59 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.006959/0.4066, allocations: 4.988 MB / 1.013 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.408, allocations: 0.609 MB / 1.014 GB, free: 6.605 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007375/0.4088, allocations: 339.4 kB / 1.014 GB, free: 6.273 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002475/0.4113, allocations: 1.603 MB / 1.016 GB, free: 4.52 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007833/0.4121, allocations: 351 kB / 1.016 GB, free: 4.164 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005546/0.4127, allocations: 83.41 kB / 1.016 GB, free: 4.082 MB / 0.795 GB Notification: Performance of pre-optimization done (n=44): time 4.248e-06/0.4127, allocations: 0 / 1.016 GB, free: 4.082 MB / 0.795 GB Notification: Performance of matching and sorting (n=44): time 0.003393/0.4161, allocations: 1.235 MB / 1.018 GB, free: 2.816 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.4161, allocations: 59.41 kB / 1.018 GB, free: 2.746 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.418, allocations: 1.263 MB / 1.019 GB, free: 1.469 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.647e-05/0.4181, allocations: 49.64 kB / 1.019 GB, free: 1.414 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005834/0.4187, allocations: 0.645 MB / 1.02 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.4188, allocations: 153.8 kB / 1.02 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/0.4191, allocations: 162.5 kB / 1.02 GB, free: 456 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4192, allocations: 341.9 kB / 1.02 GB, free: 108 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006805/0.4199, allocations: 292.7 kB / 1.02 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009291/0.4209, allocations: 0.6035 MB / 1.021 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.4224, allocations: 0.8605 MB / 1.022 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.4224, allocations: 4 kB / 1.022 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002623/0.425, allocations: 1.137 MB / 1.023 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.4251, allocations: 33.7 kB / 1.023 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.4251, allocations: 8 kB / 1.023 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006511/0.4258, allocations: 185.1 kB / 1.023 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/0.4264, allocations: 151.8 kB / 1.023 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007711/0.4272, allocations: 0.7745 MB / 1.024 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.4282, allocations: 80.59 kB / 1.024 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.749e-05/0.4283, allocations: 35.98 kB / 1.024 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001086/0.4294, allocations: 0.5799 MB / 1.025 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007456/0.4302, allocations: 0.5761 MB / 1.025 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001242/0.4314, allocations: 0.7941 MB / 1.026 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.021e-06/0.4315, allocations: 0 / 1.026 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.00218/0.4336, allocations: 1.108 MB / 1.027 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.009e-05/0.4337, allocations: 33.7 kB / 1.027 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4337, allocations: 8.5 kB / 1.027 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002196/0.4339, allocations: 112.8 kB / 1.027 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005247/0.4345, allocations: 139.8 kB / 1.028 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.4368, allocations: 2.41 MB / 1.03 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.4378, allocations: 80.58 kB / 1.03 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.013e-05/0.4379, allocations: 36.11 kB / 1.03 GB, free: 5.297 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003207/0.4382, allocations: 232 kB / 1.03 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004226/0.4387, allocations: 130.4 kB / 1.03 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.4409, allocations: 0.931 MB / 1.031 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.441, allocations: 7.984 kB / 1.031 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.441, allocations: 0 / 1.031 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001539/0.4425, allocations: 0.9194 MB / 1.032 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00358/0.4461, allocations: 1.85 MB / 1.034 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4461, allocations: 0 / 1.034 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004894/0.4466, allocations: 91.86 kB / 1.034 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002904/0.4469, allocations: 124.8 kB / 1.034 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.723e-05/0.447, allocations: 24.05 kB / 1.034 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006317/0.4476, allocations: 0.7435 MB / 1.035 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4477, allocations: 0 / 1.035 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/0.4501, allocations: 1.241 MB / 1.036 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005947/0.4507, allocations: 259.3 kB / 1.036 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000282/0.451, allocations: 12 kB / 1.036 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008021/0.4519, allocations: 60 kB / 1.036 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.452, allocations: 44.36 kB / 1.036 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.964e-05/0.452, allocations: 27.92 kB / 1.037 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001438/0.4535, allocations: 0.878 MB / 1.037 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4535, allocations: 3.938 kB / 1.037 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002217/0.4557, allocations: 0.6511 MB / 1.038 GB, free: 12.84 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.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 (40): * Single equations (assignments): 34 * 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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001104/0.4568, allocations: 367.2 kB / 1.038 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003326/0.4602, allocations: 1.452 MB / 1.04 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.4602, allocations: 0 / 1.04 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000877/0.4611, allocations: 359.4 kB / 1.04 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003147/0.4642, allocations: 0.6023 MB / 1.041 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005268/0.4695, allocations: 2.76 MB / 1.043 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/0.4709, allocations: 1.257 MB / 1.045 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004392/0.4714, allocations: 107.4 kB / 1.045 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of SimCode: time 1.823e-06/0.4714, allocations: 0 / 1.045 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of Templates: time 0.04991/0.5213, allocations: 28.87 MB / 1.073 GB, free: 9.164 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches