Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 212.6 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.576/1.576, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.939/2.939, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 67.17 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.346, allocations: 170 MB / 1.283 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2104/0.5564, allocations: 156 MB / 1.435 GB, free: 15.44 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01919/0.5756, allocations: 12.06 MB / 1.447 GB, free: 3.332 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.5771, allocations: 39.69 kB / 1.447 GB, free: 3.293 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.5787, allocations: 468.4 kB / 1.448 GB, free: 2.832 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003845/0.5825, allocations: 1.085 MB / 1.449 GB, free: 1.746 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005697/0.5882, allocations: 1.898 MB / 1.451 GB, free: 15.85 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004158/0.5924, allocations: 2.571 MB / 1.453 GB, free: 13.27 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002449/0.5948, allocations: 1.267 MB / 1.454 GB, free: 11.95 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004637/0.5995, allocations: 1.497 MB / 1.456 GB, free: 10.47 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/0.6009, allocations: 0.8399 MB / 1.457 GB, free: 9.629 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003377/0.6013, allocations: 172 kB / 1.457 GB, free: 9.461 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003783/0.6051, allocations: 1.291 MB / 1.458 GB, free: 8.168 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006318/0.6057, allocations: 498.5 kB / 1.458 GB, free: 7.68 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.6068, allocations: 0.731 MB / 1.459 GB, free: 6.945 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005294/0.6121, allocations: 2.834 MB / 1.462 GB, free: 4.102 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.6121, allocations: 3.938 kB / 1.462 GB, free: 4.098 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6121, allocations: 0 / 1.462 GB, free: 4.098 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.967e-05/0.6121, allocations: 0 / 1.462 GB, free: 4.098 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.004176/0.6163, allocations: 2.032 MB / 1.464 GB, free: 2.02 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.6163, allocations: 8.031 kB / 1.464 GB, free: 2.012 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003499/0.6198, allocations: 466.4 kB / 1.464 GB, free: 1.555 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002551/0.6224, allocations: 0.9749 MB / 1.465 GB, free: 0.5508 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.6225, allocations: 98.72 kB / 1.465 GB, free: 464 kB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/0.6227, allocations: 132 kB / 1.466 GB, free: 332 kB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003224/0.6259, allocations: 2.019 MB / 1.468 GB, free: 14.11 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-05/0.626, allocations: 7.938 kB / 1.468 GB, free: 14.1 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/0.6261, allocations: 60 kB / 1.468 GB, free: 14.04 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/0.6261, allocations: 36 kB / 1.468 GB, free: 14 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002904/0.629, allocations: 1.532 MB / 1.469 GB, free: 12.46 MB / 1.17 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.007362/0.6364, allocations: 3.783 MB / 1.473 GB, free: 8.602 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002634/0.639, allocations: 1.138 MB / 1.474 GB, free: 7.461 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008797/0.6399, allocations: 440.9 kB / 1.474 GB, free: 7.027 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006283/0.6405, allocations: 112.9 kB / 1.474 GB, free: 6.914 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00158/0.6421, allocations: 1.046 MB / 1.475 GB, free: 5.77 MB / 1.17 GB Notification: Performance of pre-optimization done (n=107): time 3.136e-06/0.6421, allocations: 0 / 1.475 GB, free: 5.77 MB / 1.17 GB Notification: Performance of matching and sorting (n=107): time 0.004566/0.6467, allocations: 1.582 MB / 1.477 GB, free: 4.176 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.6468, allocations: 188.9 kB / 1.477 GB, free: 3.949 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.648, allocations: 0.7668 MB / 1.478 GB, free: 3.168 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.6481, allocations: 53.7 kB / 1.478 GB, free: 3.109 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000611/0.6487, allocations: 0.6218 MB / 1.479 GB, free: 2.48 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003796/0.6491, allocations: 372.8 kB / 1.479 GB, free: 2.113 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003598/0.6494, allocations: 218.8 kB / 1.479 GB, free: 1.895 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.6496, allocations: 345.9 kB / 1.479 GB, free: 1.551 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008543/0.6505, allocations: 394.4 kB / 1.48 GB, free: 1.164 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.6516, allocations: 0.7503 MB / 1.481 GB, free: 328 kB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/0.6535, allocations: 0.9567 MB / 1.482 GB, free: 15.32 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.6535, allocations: 4 kB / 1.482 GB, free: 15.31 MB / 1.186 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003008/0.6565, allocations: 1.224 MB / 1.483 GB, free: 14.08 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.6565, allocations: 7.938 kB / 1.483 GB, free: 14.07 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.6566, allocations: 4.406 kB / 1.483 GB, free: 14.07 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006271/0.6572, allocations: 84.78 kB / 1.483 GB, free: 13.98 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.6584, allocations: 267.5 kB / 1.483 GB, free: 13.72 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.6607, allocations: 1.516 MB / 1.485 GB, free: 12.1 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.6619, allocations: 119.3 kB / 1.485 GB, free: 11.98 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.662, allocations: 47.97 kB / 1.485 GB, free: 11.93 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007742/0.6628, allocations: 351.2 kB / 1.485 GB, free: 11.58 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/0.663, allocations: 119.3 kB / 1.485 GB, free: 11.46 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/0.6664, allocations: 1.416 MB / 1.487 GB, free: 10.03 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.6664, allocations: 15.94 kB / 1.487 GB, free: 10.02 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.6664, allocations: 0 / 1.487 GB, free: 10.02 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.6664, allocations: 3.984 kB / 1.487 GB, free: 10.01 MB / 1.186 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.005195/0.6716, allocations: 2.411 MB / 1.489 GB, free: 7.566 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.6716, allocations: 4 kB / 1.489 GB, free: 7.562 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.6726, allocations: 223.7 kB / 1.489 GB, free: 7.344 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/0.673, allocations: 76.78 kB / 1.489 GB, free: 7.266 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.913e-05/0.6731, allocations: 31.97 kB / 1.489 GB, free: 7.234 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.6752, allocations: 1.54 MB / 1.491 GB, free: 5.586 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6752, allocations: 0 / 1.491 GB, free: 5.586 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003024/0.6782, allocations: 1.315 MB / 1.492 GB, free: 4.25 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006948/0.6789, allocations: 274.7 kB / 1.492 GB, free: 3.98 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.6791, allocations: 27.94 kB / 1.492 GB, free: 3.953 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008983/0.68, allocations: 86.41 kB / 1.492 GB, free: 3.871 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.6802, allocations: 88.83 kB / 1.492 GB, free: 3.785 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.6803, allocations: 47.97 kB / 1.493 GB, free: 3.738 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008431/0.6811, allocations: 0.5263 MB / 1.493 GB, free: 3.215 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6811, allocations: 0 / 1.493 GB, free: 3.215 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001571/0.6827, allocations: 0.5142 MB / 1.494 GB, free: 2.699 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002442/0.6852, allocations: 0.7291 MB / 1.494 GB, free: 2.176 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002579/0.6877, allocations: 1.109 MB / 1.495 GB, free: 1.055 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.6877, allocations: 0 / 1.495 GB, free: 1.055 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.6891, allocations: 0.6329 MB / 1.496 GB, free: 420 kB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.691, allocations: 460.8 kB / 1.496 GB, free: 15.98 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004772/0.6958, allocations: 2.382 MB / 1.499 GB, free: 13.57 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007556/0.6965, allocations: 0.6282 MB / 1.499 GB, free: 12.9 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001391/0.6979, allocations: 376.6 kB / 1.5 GB, free: 12.53 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003942/0.6983, allocations: 143.3 kB / 1.5 GB, free: 12.39 MB / 1.201 GB Notification: Performance of SimCode: time 8.52e-07/0.6983, allocations: 0 / 1.5 GB, free: 12.39 MB / 1.201 GB Notification: Performance of Templates: time 0.04424/0.7426, allocations: 24.64 MB / 1.524 GB, free: 4.188 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.511712005361915]