Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001016/0.001016, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.00933/0.00933, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.413/1.413, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.701/2.701, allocations: 462.6 MB / 0.7363 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003918, allocations: 21.23 kB / 0.9027 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.315, allocations: 159.6 MB / 1.059 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.06923/0.3842, allocations: 70.94 MB / 1.128 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02744/0.4117, allocations: 18.73 MB / 1.146 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003218/0.415, allocations: 83.44 kB / 1.146 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.008693/0.4237, allocations: 4.025 MB / 1.15 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007118/0.4308, allocations: 2.25 MB / 1.152 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005297/0.4361, allocations: 1.896 MB / 1.154 GB, free: 2.836 MB / 0.9044 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.01622/0.4524, allocations: 13.6 MB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008621/0.461, allocations: 5.6 MB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007613/0.4687, allocations: 2.757 MB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005178/0.4739, allocations: 2.481 MB / 1.178 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001102/0.4751, allocations: 124 kB / 1.178 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004985/0.4801, allocations: 1.447 MB / 1.18 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001504/0.4816, allocations: 0.7544 MB / 1.18 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003531/0.4852, allocations: 1.788 MB / 1.182 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007329/0.4925, allocations: 5.061 MB / 1.187 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4925, allocations: 0 / 1.187 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4925, allocations: 0 / 1.187 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.000154/0.4927, allocations: 0 / 1.187 GB, free: 1.062 MB / 0.9356 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.007798/0.5005, allocations: 4.161 MB / 1.191 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.5006, allocations: 12.03 kB / 1.191 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003249/0.5038, allocations: 0.7017 MB / 1.192 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007269/0.5111, allocations: 3.668 MB / 1.195 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/0.5113, allocations: 139.8 kB / 1.196 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005261/0.5118, allocations: 184 kB / 1.196 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004846/0.5167, allocations: 2.355 MB / 1.198 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.381e-05/0.5168, allocations: 7.938 kB / 1.198 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/0.517, allocations: 71.98 kB / 1.198 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.5171, allocations: 44 kB / 1.198 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004231/0.5213, allocations: 1.951 MB / 1.2 GB, free: 3.48 MB / 0.9512 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.01643/0.5377, allocations: 12.07 MB / 1.212 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002996/0.5408, allocations: 1.382 MB / 1.213 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001744/0.5425, allocations: 1.033 MB / 1.214 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006895/0.5494, allocations: 3.831 MB / 1.218 GB, free: 280 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001587/0.5511, allocations: 0.7936 MB / 1.219 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002004/0.5531, allocations: 454.4 kB / 1.219 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=95): time 5.2e-06/0.5531, allocations: 0 / 1.219 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95): time 0.01312/0.5662, allocations: 4.281 MB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.5663, allocations: 64.41 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006354/0.5727, allocations: 3.435 MB / 1.227 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002927/0.573, allocations: 57.7 kB / 1.227 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001647/0.5747, allocations: 1.567 MB / 1.228 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004609/0.5751, allocations: 343.2 kB / 1.229 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/0.5755, allocations: 185.6 kB / 1.229 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.659e-05/0.5756, allocations: 313 kB / 1.229 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/0.5775, allocations: 0.8549 MB / 1.23 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002333/0.5798, allocations: 1.664 MB / 1.232 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00369/0.5835, allocations: 2.241 MB / 1.234 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.489e-05/0.5836, allocations: 4 kB / 1.234 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007334/0.5909, allocations: 3.318 MB / 1.237 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000399/0.5913, allocations: 0.5751 MB / 1.238 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-05/0.5914, allocations: 12 kB / 1.238 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002517/0.5939, allocations: 0.6844 MB / 1.238 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.5953, allocations: 349.3 kB / 1.239 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.5972, allocations: 1.908 MB / 1.24 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002752/0.6, allocations: 201.5 kB / 1.241 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/0.6002, allocations: 91.91 kB / 1.241 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.6003, allocations: 4 kB / 1.241 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005149/0.6054, allocations: 2.856 MB / 1.244 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.659e-05/0.6055, allocations: 16 kB / 1.244 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009762/0.6065, allocations: 482 kB / 1.244 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.6078, allocations: 341.3 kB / 1.244 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.639/1.247, allocations: 5.844 MB / 1.25 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/1.249, allocations: 206.4 kB / 1.25 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/1.25, allocations: 80.11 kB / 1.25 GB, free: 177.3 MB / 0.9981 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.001722/1.251, allocations: 0.9406 MB / 1.251 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000545/1.252, allocations: 333 kB / 1.252 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004416/1.256, allocations: 2.341 MB / 1.254 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/1.256, allocations: 21.3 kB / 1.254 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/1.256, allocations: 0 / 1.254 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003065/1.26, allocations: 2.028 MB / 1.256 GB, free: 176.5 MB / 0.9981 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.007904/1.267, allocations: 4.556 MB / 1.26 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/1.267, allocations: 6.656 kB / 1.26 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008058/1.268, allocations: 158.9 kB / 1.26 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/1.269, allocations: 484.8 kB / 1.261 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.641e-05/1.269, allocations: 28.64 kB / 1.261 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/1.271, allocations: 1.853 MB / 1.263 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.271, allocations: 3.969 kB / 1.263 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006519/1.277, allocations: 3.129 MB / 1.266 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/1.279, allocations: 0.5533 MB / 1.266 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003524/1.279, allocations: 20.08 kB / 1.266 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/1.281, allocations: 161.8 kB / 1.266 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/1.281, allocations: 69.94 kB / 1.267 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.35e-05/1.281, allocations: 39.03 kB / 1.267 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004416/1.286, allocations: 2.324 MB / 1.269 GB, free: 174 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/1.286, allocations: 0 / 1.269 GB, free: 174 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00496/1.291, allocations: 1.52 MB / 1.27 GB, free: 173.9 MB / 0.9981 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.001441/1.292, allocations: 0.576 MB / 1.271 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007008/1.299, allocations: 3.687 MB / 1.275 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.299, allocations: 5.219 kB / 1.275 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001609/1.301, allocations: 0.7713 MB / 1.275 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007243/1.308, allocations: 1.363 MB / 1.277 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/1.32, allocations: 6.984 MB / 1.283 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001795/1.322, allocations: 2.221 MB / 1.286 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003543/1.325, allocations: 0.7803 MB / 1.286 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005901/1.326, allocations: 221.5 kB / 1.287 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.093e-06/1.326, allocations: 0 / 1.287 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.08942/1.415, allocations: 58.92 MB / 1.344 GB, free: 118.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example1v1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches