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.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.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.0008725/0.0008723, allocations: 92.23 kB / 16.02 MB, free: 80 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.001073/0.001073, allocations: 178.4 kB / 16.92 MB, free: 6.648 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.339/1.339, allocations: 223.3 MB / 241 MB, free: 5.293 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.592/2.592, allocations: 437.8 MB / 0.7128 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004145, allocations: 12 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7843/0.7847, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.0775/0.8623, allocations: 70.93 MB / 1.093 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02987/0.8922, allocations: 18.74 MB / 1.111 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004428/0.8967, allocations: 83.44 kB / 1.111 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.009591/0.9063, allocations: 4.025 MB / 1.115 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007771/0.9141, allocations: 2.251 MB / 1.117 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005866/0.92, allocations: 1.89 MB / 1.119 GB, free: 13.69 MB / 0.8731 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.0002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.0168/0.9368, allocations: 13.59 MB / 1.133 GB, free: 64 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008861/0.9457, allocations: 5.596 MB / 1.138 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007186/0.9529, allocations: 2.765 MB / 1.141 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005384/0.9583, allocations: 2.469 MB / 1.143 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001103/0.9594, allocations: 128 kB / 1.143 GB, free: 5.031 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005127/0.9646, allocations: 1.455 MB / 1.145 GB, free: 3.574 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001666/0.9663, allocations: 0.7467 MB / 1.145 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.004579/0.9709, allocations: 1.781 MB / 1.147 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006433/0.9773, allocations: 3.935 MB / 1.151 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.9774, allocations: 0 / 1.151 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9774, allocations: 0 / 1.151 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002262/0.9776, allocations: 0 / 1.151 GB, free: 13.08 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.01047/0.9881, allocations: 4.165 MB / 1.155 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.9882, allocations: 15.92 kB / 1.155 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0036/0.9918, allocations: 0.7095 MB / 1.156 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008335/1, allocations: 3.66 MB / 1.159 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/1, allocations: 143.8 kB / 1.16 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007282/1.001, allocations: 188 kB / 1.16 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005826/1.007, allocations: 2.355 MB / 1.162 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-05/1.007, allocations: 3.938 kB / 1.162 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003221/1.007, allocations: 72 kB / 1.162 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/1.007, allocations: 44 kB / 1.162 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004507/1.012, allocations: 1.951 MB / 1.164 GB, free: 15.48 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.01823/1.03, allocations: 12.07 MB / 1.176 GB, free: 2.793 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003087/1.033, allocations: 1.385 MB / 1.177 GB, free: 1.406 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001797/1.035, allocations: 1.029 MB / 1.178 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007386/1.043, allocations: 3.835 MB / 1.182 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0016/1.044, allocations: 0.7819 MB / 1.183 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002131/1.046, allocations: 466.4 kB / 1.183 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=95): time 7.394e-06/1.046, allocations: 3.984 kB / 1.183 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95): time 0.01284/1.059, allocations: 4.273 MB / 1.187 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/1.059, allocations: 60.41 kB / 1.187 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006619/1.066, allocations: 3.431 MB / 1.191 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002706/1.066, allocations: 61.69 kB / 1.191 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001862/1.068, allocations: 1.567 MB / 1.192 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004723/1.069, allocations: 351.1 kB / 1.193 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003842/1.069, allocations: 193.6 kB / 1.193 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001009/1.069, allocations: 305.1 kB / 1.193 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/1.071, allocations: 0.851 MB / 1.194 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002388/1.073, allocations: 1.66 MB / 1.196 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00372/1.077, allocations: 2.237 MB / 1.198 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.818e-05/1.077, allocations: 8 kB / 1.198 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007295/1.085, allocations: 3.322 MB / 1.201 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004488/1.085, allocations: 0.5628 MB / 1.202 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-05/1.085, allocations: 16 kB / 1.202 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002443/1.087, allocations: 0.7038 MB / 1.202 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/1.089, allocations: 341.3 kB / 1.203 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/1.091, allocations: 1.904 MB / 1.204 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002952/1.094, allocations: 217.3 kB / 1.205 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/1.094, allocations: 83.97 kB / 1.205 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/1.094, allocations: 7.938 kB / 1.205 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005286/1.099, allocations: 2.848 MB / 1.207 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.739e-05/1.099, allocations: 16 kB / 1.207 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009801/1.1, allocations: 474 kB / 1.208 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/1.102, allocations: 345.3 kB / 1.208 GB, free: 196 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007179/1.109, allocations: 5.862 MB / 1.214 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002864/1.112, allocations: 217 kB / 1.214 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003492/1.112, allocations: 75.98 kB / 1.214 GB, free: 9.754 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.002308/1.115, allocations: 0.9458 MB / 1.215 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/1.116, allocations: 335.7 kB / 1.216 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005605/1.121, allocations: 2.328 MB / 1.218 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/1.121, allocations: 11.98 kB / 1.218 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/1.121, allocations: 0 / 1.218 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003645/1.125, allocations: 2.034 MB / 1.22 GB, free: 3.992 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.009889/1.135, allocations: 4.57 MB / 1.224 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/1.135, allocations: 7.938 kB / 1.224 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008314/1.136, allocations: 149.8 kB / 1.224 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/1.137, allocations: 473 kB / 1.225 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.589e-05/1.137, allocations: 31.92 kB / 1.225 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/1.139, allocations: 1.854 MB / 1.227 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.139, allocations: 0 / 1.227 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006257/1.145, allocations: 3.141 MB / 1.23 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001735/1.147, allocations: 0.5553 MB / 1.23 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009345/1.148, allocations: 20 kB / 1.23 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00212/1.15, allocations: 167.6 kB / 1.23 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/1.15, allocations: 60.91 kB / 1.231 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/1.15, allocations: 47.91 kB / 1.231 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004989/1.155, allocations: 2.327 MB / 1.233 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.91e-07/1.155, allocations: 0 / 1.233 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.005496/1.161, allocations: 1.517 MB / 1.234 GB, free: 4.871 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.001684/1.162, allocations: 0.5723 MB / 1.235 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007379/1.17, allocations: 3.683 MB / 1.239 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/1.17, allocations: 0 / 1.239 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001646/1.171, allocations: 0.7643 MB / 1.239 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008144/1.18, allocations: 1.36 MB / 1.241 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/1.195, allocations: 7.09 MB / 1.248 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002534/1.197, allocations: 2.204 MB / 1.25 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009569/1.198, allocations: 231.4 kB / 1.25 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of SimCode: time 9.01e-07/1.198, allocations: 0 / 1.25 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of Templates: time 0.7113/1.91, allocations: 82.75 MB / 1.331 GB, free: 161.9 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches