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.001273/0.001273, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002313/0.002314, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.492/1.492, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.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.611/2.611, allocations: 437.8 MB / 0.7128 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003478, allocations: 8 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6493/0.6497, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03222/0.682, allocations: 29.14 MB / 1.052 GB, free: 2.621 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01822/0.7002, allocations: 11.7 MB / 1.064 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/0.7022, allocations: 39.75 kB / 1.064 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.007955/0.7102, allocations: 3.779 MB / 1.067 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004246/0.7144, allocations: 1.413 MB / 1.069 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003609/0.7181, allocations: 1.258 MB / 1.07 GB, free: 404 kB / 0.8106 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01015/0.7282, allocations: 7.985 MB / 1.078 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002115/0.7304, allocations: 1.146 MB / 1.079 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002778/0.7332, allocations: 1.241 MB / 1.08 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.7351, allocations: 1.065 MB / 1.081 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003835/0.7355, allocations: 52 kB / 1.081 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003212/0.7387, allocations: 1.275 MB / 1.082 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0007378/0.7395, allocations: 454.2 kB / 1.083 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001728/0.7412, allocations: 0.8951 MB / 1.084 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.003292/0.7446, allocations: 2.252 MB / 1.086 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7446, allocations: 0 / 1.086 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7446, allocations: 0 / 1.086 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.724e-05/0.7447, allocations: 0 / 1.086 GB, free: 15.96 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.004207/0.7489, allocations: 2.024 MB / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.7489, allocations: 11.98 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.751, allocations: 389.2 kB / 1.088 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004302/0.7553, allocations: 2.332 MB / 1.091 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.7554, allocations: 74.22 kB / 1.091 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002312/0.7557, allocations: 88 kB / 1.091 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.7578, allocations: 1.008 MB / 1.092 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.7578, allocations: 3.938 kB / 1.092 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.541e-05/0.7579, allocations: 36 kB / 1.092 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.7579, allocations: 20 kB / 1.092 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.7597, allocations: 0.7766 MB / 1.092 GB, free: 9.039 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.007266/0.767, allocations: 5.364 MB / 1.098 GB, free: 3.297 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.7684, allocations: 0.5871 MB / 1.098 GB, free: 2.703 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007132/0.7692, allocations: 334.9 kB / 1.099 GB, free: 2.379 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002598/0.7718, allocations: 1.643 MB / 1.1 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007381/0.7725, allocations: 335.1 kB / 1.101 GB, free: 252 kB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005887/0.7731, allocations: 107.2 kB / 1.101 GB, free: 144 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=43): time 3.958e-06/0.7732, allocations: 4 kB / 1.101 GB, free: 140 kB / 0.8419 GB Notification: Performance of matching and sorting (n=43): time 0.003435/0.7766, allocations: 1.255 MB / 1.102 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.7767, allocations: 55.41 kB / 1.102 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/0.7795, allocations: 1.838 MB / 1.104 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.704e-05/0.7796, allocations: 49.64 kB / 1.104 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007339/0.7803, allocations: 0.7869 MB / 1.105 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.7805, allocations: 153.9 kB / 1.105 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.7807, allocations: 125.6 kB / 1.105 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.7808, allocations: 357.9 kB / 1.105 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008748/0.7817, allocations: 458 kB / 1.106 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.7828, allocations: 0.8358 MB / 1.106 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/0.7847, allocations: 1.168 MB / 1.108 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.455e-06/0.7847, allocations: 7.938 kB / 1.108 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003178/0.7879, allocations: 1.602 MB / 1.109 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002835/0.7882, allocations: 392 kB / 1.109 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.7882, allocations: 8 kB / 1.109 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006382/0.7889, allocations: 180.7 kB / 1.11 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/0.7896, allocations: 207.6 kB / 1.11 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007676/0.7904, allocations: 0.7717 MB / 1.111 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.7917, allocations: 105.6 kB / 1.111 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.89e-05/0.7918, allocations: 47.98 kB / 1.111 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.7918, allocations: 4 kB / 1.111 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002373/0.7942, allocations: 1.415 MB / 1.112 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.7942, allocations: 15.94 kB / 1.112 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/0.7944, allocations: 109.4 kB / 1.112 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000667/0.7951, allocations: 191.7 kB / 1.112 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.7972, allocations: 2.158 MB / 1.115 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.7983, allocations: 105.6 kB / 1.115 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.871e-05/0.7984, allocations: 44.09 kB / 1.115 GB, free: 0.9805 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (106): * Single equations (assignments): 102 * 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.0008736/0.7993, allocations: 0.5842 MB / 1.115 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003569/0.7997, allocations: 173.8 kB / 1.115 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.8018, allocations: 0.9004 MB / 1.116 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.8019, allocations: 8 kB / 1.116 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.8019, allocations: 0 / 1.116 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001498/0.8034, allocations: 0.8921 MB / 1.117 GB, free: 14.33 MB / 0.8731 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 postOpt removeSimpleEquations (simulation): time 0.003902/0.8073, allocations: 2.071 MB / 1.119 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.8073, allocations: 4.062 kB / 1.119 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.8077, allocations: 87.86 kB / 1.119 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002817/0.808, allocations: 120.7 kB / 1.119 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/0.8081, allocations: 16 kB / 1.119 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005994/0.8087, allocations: 0.7513 MB / 1.12 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.8087, allocations: 0 / 1.12 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/0.8112, allocations: 1.254 MB / 1.121 GB, free: 9.879 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006382/0.8118, allocations: 322.8 kB / 1.122 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002922/0.8121, allocations: 16 kB / 1.122 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008945/0.813, allocations: 87.77 kB / 1.122 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.8131, allocations: 40.31 kB / 1.122 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/0.8132, allocations: 19.98 kB / 1.122 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002129/0.8153, allocations: 1.246 MB / 1.123 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8153, allocations: 0 / 1.123 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002583/0.8179, allocations: 0.8073 MB / 1.124 GB, free: 7.301 MB / 0.8731 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 (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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001354/0.8193, allocations: 0.492 MB / 1.124 GB, free: 6.812 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003742/0.8231, allocations: 1.87 MB / 1.126 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.8231, allocations: 0 / 1.126 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008345/0.8239, allocations: 343.5 kB / 1.126 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00384/0.8278, allocations: 0.7509 MB / 1.127 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006981/0.8348, allocations: 3.647 MB / 1.131 GB, free: 152 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/0.836, allocations: 1.433 MB / 1.132 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000501/0.8366, allocations: 139.4 kB / 1.132 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of SimCode: time 1.062e-06/0.8366, allocations: 0 / 1.132 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of Templates: time 0.04958/0.8862, allocations: 36.21 MB / 1.168 GB, free: 10.53 MB / 0.92 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 -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