Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.00138/0.00138, allocations: 172.9 kB / 16.27 MB, free: 6.664 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.367/1.367, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.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.727/2.727, allocations: 437.8 MB / 0.7121 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.000357, allocations: 8 kB / 0.8728 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6736/0.674, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.06372/0.7377, allocations: 70.94 MB / 1.092 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02578/0.7636, allocations: 18.74 MB / 1.111 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003614/0.7672, allocations: 79.5 kB / 1.111 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.007979/0.7752, allocations: 4.021 MB / 1.115 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007095/0.7823, allocations: 2.251 MB / 1.117 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005339/0.7877, allocations: 1.894 MB / 1.119 GB, free: 13.6 MB / 0.8731 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.0002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01585/0.8036, allocations: 13.59 MB / 1.132 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007521/0.8111, allocations: 5.588 MB / 1.137 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006956/0.8181, allocations: 2.769 MB / 1.14 GB, free: 7.555 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004744/0.8229, allocations: 2.477 MB / 1.142 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0009664/0.8239, allocations: 124 kB / 1.143 GB, free: 4.945 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004647/0.8286, allocations: 1.447 MB / 1.144 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001474/0.8301, allocations: 0.7506 MB / 1.145 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003737/0.8338, allocations: 1.785 MB / 1.146 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006809/0.8406, allocations: 5.068 MB / 1.151 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.8407, allocations: 0 / 1.151 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8407, allocations: 3.938 kB / 1.151 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.000115/0.8408, allocations: 0 / 1.151 GB, free: 11.85 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.007526/0.8484, allocations: 4.169 MB / 1.156 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.8484, allocations: 15.98 kB / 1.156 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003017/0.8514, allocations: 0.6979 MB / 1.156 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00611/0.8576, allocations: 3.66 MB / 1.16 GB, free: 3.156 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.8577, allocations: 147.8 kB / 1.16 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002927/0.858, allocations: 187.9 kB / 1.16 GB, free: 2.828 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003843/0.8619, allocations: 2.355 MB / 1.162 GB, free: 340 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/0.8619, allocations: 4 kB / 1.162 GB, free: 336 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/0.8621, allocations: 71.92 kB / 1.162 GB, free: 264 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.962e-05/0.8621, allocations: 40 kB / 1.163 GB, free: 224 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003714/0.8659, allocations: 1.951 MB / 1.164 GB, free: 14.26 MB / 0.92 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.01457/0.8805, allocations: 12.07 MB / 1.176 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00278/0.8833, allocations: 1.382 MB / 1.178 GB, free: 188 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.8849, allocations: 1.037 MB / 1.179 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00605/0.891, allocations: 3.816 MB / 1.182 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001492/0.8925, allocations: 0.7935 MB / 1.183 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001621/0.8942, allocations: 458.4 kB / 1.184 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=95): time 4.318e-06/0.8942, allocations: 7.984 kB / 1.184 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95): time 0.01213/0.9063, allocations: 4.277 MB / 1.188 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.9064, allocations: 64.41 kB / 1.188 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004579/0.911, allocations: 3.431 MB / 1.191 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001943/0.9112, allocations: 53.7 kB / 1.191 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.9125, allocations: 1.567 MB / 1.193 GB, free: 296 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/0.9128, allocations: 351.4 kB / 1.193 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.9131, allocations: 185.6 kB / 1.193 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.42e-05/0.9132, allocations: 305.1 kB / 1.193 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.9148, allocations: 0.8549 MB / 1.194 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/0.9168, allocations: 1.664 MB / 1.196 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003335/0.9202, allocations: 2.237 MB / 1.198 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.417e-06/0.9202, allocations: 7.938 kB / 1.198 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006683/0.9269, allocations: 3.326 MB / 1.201 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003586/0.9273, allocations: 0.5709 MB / 1.202 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.9273, allocations: 12 kB / 1.202 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002414/0.9297, allocations: 0.6921 MB / 1.203 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.9311, allocations: 353.3 kB / 1.203 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.933, allocations: 1.912 MB / 1.205 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/0.9356, allocations: 201.4 kB / 1.205 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.9358, allocations: 91.95 kB / 1.205 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.9358, allocations: 4 kB / 1.205 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00486/0.9407, allocations: 2.845 MB / 1.208 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/0.9408, allocations: 16 kB / 1.208 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009088/0.9417, allocations: 485.8 kB / 1.208 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.943, allocations: 337.3 kB / 1.209 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006521/0.9495, allocations: 5.864 MB / 1.214 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/0.9521, allocations: 205.1 kB / 1.215 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/0.9522, allocations: 83.97 kB / 1.215 GB, free: 8.531 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001598/0.9538, allocations: 0.9419 MB / 1.216 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00055/0.9544, allocations: 339.6 kB / 1.216 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004521/0.9589, allocations: 2.332 MB / 1.218 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.959, allocations: 12 kB / 1.218 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.959, allocations: 0 / 1.218 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003402/0.9624, allocations: 2.037 MB / 1.22 GB, free: 2.762 MB / 0.9669 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.007693/0.9701, allocations: 4.566 MB / 1.225 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.9701, allocations: 4 kB / 1.225 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008043/0.9709, allocations: 161.7 kB / 1.225 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009977/0.9719, allocations: 465 kB / 1.225 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.966e-05/0.972, allocations: 27.92 kB / 1.225 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.9736, allocations: 1.858 MB / 1.227 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.9736, allocations: 0 / 1.227 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005612/0.9792, allocations: 3.145 MB / 1.23 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00154/0.9808, allocations: 0.5591 MB / 1.231 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003246/0.9811, allocations: 16 kB / 1.231 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.9826, allocations: 175.5 kB / 1.231 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.9827, allocations: 64.91 kB / 1.231 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-05/0.9828, allocations: 39.97 kB / 1.231 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002996/0.9858, allocations: 2.327 MB / 1.233 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9858, allocations: 0 / 1.233 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003511/0.9893, allocations: 1.513 MB / 1.235 GB, free: 3.645 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (57): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00114/0.9905, allocations: 0.5689 MB / 1.235 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006068/0.9966, allocations: 3.682 MB / 1.239 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.9966, allocations: 1.5 kB / 1.239 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001473/0.998, allocations: 0.7642 MB / 1.24 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005866/1.004, allocations: 1.371 MB / 1.241 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/1.014, allocations: 6.977 MB / 1.248 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/1.016, allocations: 2.22 MB / 1.25 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002839/1.019, allocations: 0.7872 MB / 1.251 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005206/1.019, allocations: 215.4 kB / 1.251 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of SimCode: time 8.81e-07/1.019, allocations: 3.938 kB / 1.251 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of Templates: time 0.6366/1.656, allocations: 58.89 MB / 1.308 GB, free: 185.6 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example1v1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches