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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001511/0.001511, allocations: 109.5 kB / 16.37 MB, free: 6.461 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.002037/0.002038, allocations: 191.5 kB / 17.31 MB, free: 5.824 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.548/2.548, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001927, allocations: 60.66 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3745, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03044/0.405, allocations: 30.06 MB / 1.048 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01827/0.4234, allocations: 11.73 MB / 1.06 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002578/0.426, allocations: 47.75 kB / 1.06 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.008697/0.4347, allocations: 3.921 MB / 1.063 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005147/0.4399, allocations: 1.516 MB / 1.065 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004331/0.4442, allocations: 1.413 MB / 1.066 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01012/0.4544, allocations: 6.619 MB / 1.073 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002229/0.4566, allocations: 1.373 MB / 1.074 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5595/1.016, allocations: 1.455 MB / 1.076 GB, free: 19.34 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002705/1.019, allocations: 1.086 MB / 1.077 GB, free: 19.34 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0008389/1.02, allocations: 123.8 kB / 1.077 GB, free: 19.34 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004235/1.024, allocations: 1.299 MB / 1.078 GB, free: 19.34 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001021/1.025, allocations: 0.5249 MB / 1.079 GB, free: 19.33 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001477/1.027, allocations: 0.9609 MB / 1.079 GB, free: 19.04 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005297/1.032, allocations: 2.999 MB / 1.082 GB, free: 18.72 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.032, allocations: 1.094 kB / 1.082 GB, free: 18.72 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.823e-06/1.032, allocations: 1.312 kB / 1.082 GB, free: 18.72 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.006e-05/1.032, allocations: 0.5 kB / 1.082 GB, free: 18.72 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.005331/1.037, allocations: 2.346 MB / 1.085 GB, free: 17.45 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/1.037, allocations: 10.73 kB / 1.085 GB, free: 17.45 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/1.039, allocations: 380.5 kB / 1.085 GB, free: 17.34 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004617/1.044, allocations: 2.356 MB / 1.087 GB, free: 16.87 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.397e-05/1.044, allocations: 71.08 kB / 1.087 GB, free: 16.87 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/1.044, allocations: 87 kB / 1.087 GB, free: 16.87 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/1.046, allocations: 1.012 MB / 1.088 GB, free: 16.67 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/1.046, allocations: 1.688 kB / 1.088 GB, free: 16.67 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-05/1.046, allocations: 31.09 kB / 1.089 GB, free: 16.67 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.696e-05/1.046, allocations: 19.72 kB / 1.089 GB, free: 16.67 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/1.048, allocations: 0.7612 MB / 1.089 GB, free: 16.66 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.006544/1.055, allocations: 5.218 MB / 1.094 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/1.056, allocations: 0.564 MB / 1.095 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006898/1.057, allocations: 334.8 kB / 1.095 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002366/1.059, allocations: 1.65 MB / 1.097 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007394/1.06, allocations: 321.6 kB / 1.097 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003272/1.06, allocations: 60.73 kB / 1.097 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=42): time 2.384e-06/1.06, allocations: 1.188 kB / 1.097 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.003357/1.064, allocations: 1.234 MB / 1.098 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/1.064, allocations: 60.28 kB / 1.098 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00253/1.066, allocations: 1.855 MB / 1.1 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.391e-05/1.066, allocations: 39.92 kB / 1.1 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006053/1.067, allocations: 0.7866 MB / 1.101 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/1.067, allocations: 152.3 kB / 1.101 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003862/1.068, allocations: 265.2 kB / 1.101 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.928e-05/1.068, allocations: 354.7 kB / 1.102 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008373/1.069, allocations: 461.8 kB / 1.102 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/1.07, allocations: 0.8328 MB / 1.103 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/1.071, allocations: 1.161 MB / 1.104 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/1.071, allocations: 2.344 kB / 1.104 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003054/1.074, allocations: 1.59 MB / 1.106 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/1.074, allocations: 36.77 kB / 1.106 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/1.074, allocations: 9 kB / 1.106 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006553/1.075, allocations: 196.7 kB / 1.106 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007417/1.076, allocations: 199.4 kB / 1.106 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006764/1.076, allocations: 0.7589 MB / 1.107 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/1.078, allocations: 72.92 kB / 1.107 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-05/1.078, allocations: 47.8 kB / 1.107 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001558/1.079, allocations: 0.8646 MB / 1.108 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009406/1.08, allocations: 0.8134 MB / 1.109 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001482/1.082, allocations: 1.134 MB / 1.11 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5e-06/1.082, allocations: 2.75 kB / 1.11 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002506/1.084, allocations: 1.576 MB / 1.111 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/1.084, allocations: 42.19 kB / 1.111 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.084, allocations: 12.38 kB / 1.111 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002132/1.085, allocations: 108.4 kB / 1.111 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/1.085, allocations: 193.5 kB / 1.112 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/1.087, allocations: 2.36 MB / 1.114 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/1.088, allocations: 67.83 kB / 1.114 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.171e-05/1.088, allocations: 50.16 kB / 1.114 GB, free: 5.57 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.0002614/1.089, allocations: 239.9 kB / 1.114 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/1.089, allocations: 164.7 kB / 1.114 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/1.091, allocations: 0.9161 MB / 1.115 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/1.091, allocations: 5.266 kB / 1.115 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/1.091, allocations: 1.188 kB / 1.115 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001371/1.092, allocations: 0.8921 MB / 1.116 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003495/1.096, allocations: 1.99 MB / 1.118 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/1.096, allocations: 1.891 kB / 1.118 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004364/1.096, allocations: 81 kB / 1.118 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002579/1.096, allocations: 128.4 kB / 1.118 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/1.097, allocations: 17.89 kB / 1.118 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004911/1.097, allocations: 0.7456 MB / 1.119 GB, free: 2.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.097, allocations: 4.906 kB / 1.119 GB, free: 2.84 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/1.099, allocations: 1.232 MB / 1.12 GB, free: 2.273 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005699/1.1, allocations: 311.2 kB / 1.121 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/1.1, allocations: 11.83 kB / 1.121 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006782/1.101, allocations: 48.77 kB / 1.121 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/1.101, allocations: 34.42 kB / 1.121 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-05/1.101, allocations: 21.47 kB / 1.121 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001666/1.103, allocations: 1.265 MB / 1.122 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.51e-07/1.103, allocations: 0 / 1.122 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002435/1.105, allocations: 0.8093 MB / 1.123 GB, free: 1.379 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.0009935/1.106, allocations: 0.5047 MB / 1.123 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003112/1.109, allocations: 1.866 MB / 1.125 GB, free: 488 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.109, allocations: 1.062 kB / 1.125 GB, free: 488 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007413/1.11, allocations: 336.4 kB / 1.125 GB, free: 404 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/1.113, allocations: 0.809 MB / 1.126 GB, free: 136 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005497/1.118, allocations: 2.992 MB / 1.129 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/1.119, allocations: 1.444 MB / 1.131 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001446/1.121, allocations: 442.1 kB / 1.131 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/1.121, allocations: 128.2 kB / 1.131 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of SimCode: time 1.542e-05/1.121, allocations: 1.062 kB / 1.131 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of Templates: time 0.05217/1.173, allocations: 33.34 MB / 1.164 GB, free: 10.12 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=480 -s cvode -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