Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_10_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_10_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.00153/0.001531, allocations: 102.6 kB / 16.27 MB, free: 6.348 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.001576/0.001576, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.437/1.437, 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 10.1.1-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 437.1 MB / 0.711 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001922, allocations: 72.42 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3567, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03761/0.3944, allocations: 30.06 MB / 1.047 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02165/0.4161, allocations: 11.72 MB / 1.059 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002249/0.4184, allocations: 47.75 kB / 1.059 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.008731/0.4272, allocations: 3.929 MB / 1.063 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00461/0.4318, allocations: 1.508 MB / 1.064 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003855/0.4357, allocations: 1.4 MB / 1.065 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01034/0.4461, allocations: 6.622 MB / 1.072 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002567/0.4487, allocations: 1.373 MB / 1.073 GB, free: 1.766 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003699/0.4524, allocations: 1.447 MB / 1.075 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5482/1.001, allocations: 1.079 MB / 1.076 GB, free: 19.68 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004938/1.001, allocations: 121.2 kB / 1.076 GB, free: 19.68 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003253/1.004, allocations: 1.295 MB / 1.077 GB, free: 19.68 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006937/1.005, allocations: 0.5148 MB / 1.078 GB, free: 19.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001558/1.007, allocations: 0.9646 MB / 1.079 GB, free: 19.51 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005214/1.012, allocations: 2.972 MB / 1.081 GB, free: 19.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.012, allocations: 6.844 kB / 1.082 GB, free: 19.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.542e-06/1.012, allocations: 0 / 1.082 GB, free: 19.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.583e-05/1.012, allocations: 0 / 1.082 GB, free: 19.18 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004492/1.016, allocations: 2.347 MB / 1.084 GB, free: 17.91 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/1.016, allocations: 14.31 kB / 1.084 GB, free: 17.91 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/1.018, allocations: 382.5 kB / 1.084 GB, free: 17.8 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003927/1.022, allocations: 2.303 MB / 1.086 GB, free: 17.33 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/1.022, allocations: 71.41 kB / 1.086 GB, free: 17.32 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/1.023, allocations: 89 kB / 1.087 GB, free: 17.32 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/1.025, allocations: 1.004 MB / 1.088 GB, free: 17.13 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/1.025, allocations: 7.562 kB / 1.088 GB, free: 17.13 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-05/1.025, allocations: 34.88 kB / 1.088 GB, free: 17.13 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.015e-05/1.025, allocations: 22.84 kB / 1.088 GB, free: 17.13 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/1.027, allocations: 0.7568 MB / 1.088 GB, free: 17.12 MB / 0.8419 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.006642/1.033, allocations: 5.253 MB / 1.093 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/1.035, allocations: 0.5701 MB / 1.094 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007403/1.036, allocations: 322.3 kB / 1.094 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002399/1.038, allocations: 1.655 MB / 1.096 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007845/1.039, allocations: 324.5 kB / 1.096 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003849/1.039, allocations: 56.03 kB / 1.096 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=42): time 2.465e-06/1.039, allocations: 0 / 1.096 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.003509/1.043, allocations: 1.238 MB / 1.098 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/1.043, allocations: 63 kB / 1.098 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002965/1.046, allocations: 1.852 MB / 1.099 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.46e-05/1.046, allocations: 41.92 kB / 1.099 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006105/1.046, allocations: 0.7838 MB / 1.1 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/1.047, allocations: 152.8 kB / 1.1 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003778/1.047, allocations: 264.5 kB / 1.101 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.064e-05/1.047, allocations: 354.5 kB / 1.101 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008884/1.048, allocations: 467.8 kB / 1.101 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/1.049, allocations: 0.8322 MB / 1.102 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/1.051, allocations: 1.168 MB / 1.103 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/1.051, allocations: 2.5 kB / 1.103 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003202/1.054, allocations: 1.598 MB / 1.105 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.967e-05/1.054, allocations: 40.73 kB / 1.105 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/1.054, allocations: 13.09 kB / 1.105 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006629/1.055, allocations: 189.5 kB / 1.105 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007399/1.056, allocations: 198.2 kB / 1.105 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006728/1.056, allocations: 0.7783 MB / 1.106 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/1.058, allocations: 75.05 kB / 1.106 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.691e-05/1.058, allocations: 47.62 kB / 1.106 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001616/1.059, allocations: 0.8659 MB / 1.107 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00098/1.06, allocations: 0.8172 MB / 1.108 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001572/1.062, allocations: 1.131 MB / 1.109 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.624e-06/1.062, allocations: 2.688 kB / 1.109 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002761/1.065, allocations: 1.584 MB / 1.111 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/1.065, allocations: 38.16 kB / 1.111 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/1.065, allocations: 12.95 kB / 1.111 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002298/1.065, allocations: 108.4 kB / 1.111 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000681/1.066, allocations: 196.4 kB / 1.111 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/1.068, allocations: 2.353 MB / 1.113 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/1.069, allocations: 78.44 kB / 1.113 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.501e-05/1.069, allocations: 41 kB / 1.113 GB, free: 6.18 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (105): * Single equations (assignments): 101 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003142/1.069, allocations: 241.2 kB / 1.113 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002407/1.07, allocations: 174.8 kB / 1.114 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/1.072, allocations: 0.9141 MB / 1.115 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/1.072, allocations: 5.766 kB / 1.115 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/1.072, allocations: 1.125 kB / 1.115 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001483/1.073, allocations: 0.9014 MB / 1.115 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003779/1.077, allocations: 1.995 MB / 1.117 GB, free: 4.086 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/1.077, allocations: 1.469 kB / 1.117 GB, free: 4.086 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004464/1.078, allocations: 83.73 kB / 1.117 GB, free: 4.082 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000265/1.078, allocations: 127.7 kB / 1.118 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/1.078, allocations: 11.23 kB / 1.118 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004997/1.078, allocations: 0.7538 MB / 1.118 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.078, allocations: 1.25 kB / 1.118 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/1.081, allocations: 1.239 MB / 1.12 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005729/1.081, allocations: 313.3 kB / 1.12 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/1.082, allocations: 16.45 kB / 1.12 GB, free: 2.637 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006575/1.082, allocations: 46.56 kB / 1.12 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.666e-05/1.082, allocations: 34.19 kB / 1.12 GB, free: 2.625 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/1.082, allocations: 21.25 kB / 1.12 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001771/1.084, allocations: 1.259 MB / 1.121 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.91e-07/1.084, allocations: 0 / 1.121 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002627/1.087, allocations: 0.8059 MB / 1.122 GB, free: 1.992 MB / 0.8419 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 (37): * Single equations (assignments): 31 * 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.001177/1.088, allocations: 0.5081 MB / 1.122 GB, free: 1.816 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003731/1.092, allocations: 1.935 MB / 1.124 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.092, allocations: 0 / 1.124 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007994/1.093, allocations: 335 kB / 1.125 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003207/1.096, allocations: 0.8006 MB / 1.125 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00611/1.102, allocations: 3.117 MB / 1.129 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/1.103, allocations: 1.443 MB / 1.13 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005141/1.104, allocations: 141.7 kB / 1.13 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of SimCode: time 8.92e-07/1.104, allocations: 4 kB / 1.13 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of Templates: time 0.05542/1.159, allocations: 36.7 MB / 1.166 GB, free: 7.855 MB / 0.8731 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches