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.00101/0.00101, allocations: 98.88 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.001232/0.001232, allocations: 182.9 kB / 16.92 MB, free: 6.668 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.382/1.382, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.712/2.712, allocations: 462.6 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.000382, allocations: 9.969 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3795, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.07103/0.4506, allocations: 70.93 MB / 1.129 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03397/0.4846, allocations: 18.73 MB / 1.147 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005391/0.4901, allocations: 87.44 kB / 1.147 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.009252/0.4994, allocations: 4.029 MB / 1.151 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008054/0.5075, allocations: 2.248 MB / 1.153 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005771/0.5132, allocations: 1.899 MB / 1.155 GB, free: 2.797 MB / 0.9044 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.01816/0.5314, allocations: 13.59 MB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008882/0.5403, allocations: 5.6 MB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007518/0.5479, allocations: 2.757 MB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00507/0.553, allocations: 2.481 MB / 1.179 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0008162/0.5539, allocations: 128 kB / 1.179 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004363/0.5582, allocations: 1.443 MB / 1.18 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00115/0.5594, allocations: 0.7506 MB / 1.181 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003388/0.5628, allocations: 1.785 MB / 1.183 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005343/0.5682, allocations: 3.932 MB / 1.187 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.5682, allocations: 0 / 1.187 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.565e-06/0.5682, allocations: 4 kB / 1.187 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001275/0.5684, allocations: 0 / 1.187 GB, free: 2.164 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.008794/0.5772, allocations: 4.169 MB / 1.191 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.5772, allocations: 8.031 kB / 1.191 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003487/0.5807, allocations: 0.7056 MB / 1.191 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007564/0.5883, allocations: 3.656 MB / 1.195 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.5885, allocations: 147.8 kB / 1.195 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003801/0.5889, allocations: 184 kB / 1.195 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004337/0.5933, allocations: 2.359 MB / 1.198 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.98e-05/0.5933, allocations: 11.88 kB / 1.198 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001858/0.5935, allocations: 68 kB / 1.198 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.885e-05/0.5936, allocations: 40 kB / 1.198 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003935/0.5975, allocations: 1.943 MB / 1.2 GB, free: 4.586 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.0166/0.6141, allocations: 12.07 MB / 1.211 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002878/0.6171, allocations: 1.382 MB / 1.213 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/0.6188, allocations: 1.037 MB / 1.214 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006883/0.6257, allocations: 3.827 MB / 1.218 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001509/0.6272, allocations: 0.7896 MB / 1.218 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001888/0.6291, allocations: 462.4 kB / 1.219 GB, free: 128 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=95): time 3.627e-06/0.6291, allocations: 4 kB / 1.219 GB, free: 124 kB / 0.9669 GB Notification: Performance of matching and sorting (n=95): time 0.01245/0.6416, allocations: 4.281 MB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.6417, allocations: 60.41 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005124/0.6468, allocations: 3.435 MB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002648/0.6471, allocations: 61.69 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001437/0.6485, allocations: 1.555 MB / 1.228 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003785/0.6489, allocations: 347.2 kB / 1.228 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.6492, allocations: 193.6 kB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.6493, allocations: 305.1 kB / 1.229 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.6509, allocations: 0.8549 MB / 1.23 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002224/0.6531, allocations: 1.664 MB / 1.231 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00358/0.6567, allocations: 2.241 MB / 1.233 GB, free: 452 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.6568, allocations: 4 kB / 1.233 GB, free: 448 kB / 0.9825 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007087/0.6639, allocations: 3.31 MB / 1.237 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005173/0.6644, allocations: 0.5759 MB / 1.237 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.6644, allocations: 16 kB / 1.237 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002317/0.6668, allocations: 0.6921 MB / 1.238 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.6681, allocations: 345.3 kB / 1.238 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.6701, allocations: 1.904 MB / 1.24 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002824/0.6729, allocations: 217.5 kB / 1.24 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/0.6731, allocations: 87.91 kB / 1.24 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.6731, allocations: 4 kB / 1.24 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004958/0.6781, allocations: 2.857 MB / 1.243 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/0.6781, allocations: 16 kB / 1.243 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009315/0.6791, allocations: 477.3 kB / 1.244 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.6804, allocations: 341.3 kB / 1.244 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7363/1.417, allocations: 5.853 MB / 1.25 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003298/1.42, allocations: 202.4 kB / 1.25 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002531/1.42, allocations: 80.73 kB / 1.25 GB, free: 177 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.002694/1.423, allocations: 0.9434 MB / 1.251 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/1.424, allocations: 329.3 kB / 1.251 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005565/1.43, allocations: 2.355 MB / 1.253 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/1.43, allocations: 9.125 kB / 1.253 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/1.43, allocations: 0 / 1.253 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003348/1.433, allocations: 2.03 MB / 1.255 GB, free: 176.2 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.009236/1.442, allocations: 4.557 MB / 1.26 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/1.442, allocations: 0.6094 kB / 1.26 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007954/1.443, allocations: 153.2 kB / 1.26 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/1.444, allocations: 489.7 kB / 1.26 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.11e-05/1.444, allocations: 29.09 kB / 1.261 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/1.446, allocations: 1.849 MB / 1.262 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.446, allocations: 7.906 kB / 1.262 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006791/1.453, allocations: 3.13 MB / 1.265 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001744/1.454, allocations: 0.5543 MB / 1.266 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000385/1.455, allocations: 19.3 kB / 1.266 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/1.456, allocations: 163.3 kB / 1.266 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/1.456, allocations: 62.78 kB / 1.266 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/1.457, allocations: 41.98 kB / 1.266 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004822/1.461, allocations: 2.325 MB / 1.268 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.9e-07/1.461, allocations: 0 / 1.268 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006824/1.468, allocations: 1.522 MB / 1.27 GB, free: 173.7 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.001831/1.47, allocations: 0.5776 MB / 1.271 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007893/1.478, allocations: 3.68 MB / 1.274 GB, free: 173 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.478, allocations: 1.125 kB / 1.274 GB, free: 173 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/1.48, allocations: 0.7628 MB / 1.275 GB, free: 173 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008386/1.488, allocations: 1.368 MB / 1.276 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01673/1.505, allocations: 7.084 MB / 1.283 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003221/1.508, allocations: 2.206 MB / 1.285 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/1.51, allocations: 230.5 kB / 1.285 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of SimCode: time 2.615e-06/1.51, allocations: 0 / 1.285 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.0978/1.608, allocations: 82.77 MB / 1.366 GB, free: 95.79 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches