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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 195.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.751/2.751, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 64.14 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7448/0.7468, allocations: 168.7 MB / 1.274 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2124/0.9592, allocations: 177.6 MB / 1.448 GB, free: 2.09 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01955/0.9788, allocations: 13.06 MB / 1.46 GB, free: 4.996 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.9804, allocations: 27.88 kB / 1.46 GB, free: 4.969 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.9824, allocations: 484.3 kB / 1.461 GB, free: 4.492 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003732/0.9861, allocations: 1.044 MB / 1.462 GB, free: 3.445 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005229/0.9913, allocations: 1.918 MB / 1.464 GB, free: 1.531 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003739/0.9951, allocations: 2.535 MB / 1.466 GB, free: 14.98 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.9971, allocations: 1.286 MB / 1.467 GB, free: 13.64 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004259/1.001, allocations: 1.471 MB / 1.469 GB, free: 12.2 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/1.003, allocations: 0.9103 MB / 1.47 GB, free: 11.28 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003199/1.003, allocations: 168 kB / 1.47 GB, free: 11.12 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003185/1.006, allocations: 1.474 MB / 1.471 GB, free: 9.641 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000583/1.007, allocations: 0.4946 MB / 1.472 GB, free: 9.145 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001071/1.008, allocations: 0.8708 MB / 1.473 GB, free: 8.27 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004637/1.013, allocations: 2.814 MB / 1.475 GB, free: 5.445 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/1.013, allocations: 4 kB / 1.475 GB, free: 5.441 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.683e-06/1.013, allocations: 0 / 1.475 GB, free: 5.441 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.438e-05/1.013, allocations: 0 / 1.475 GB, free: 5.441 MB / 1.17 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.004082/1.017, allocations: 2.072 MB / 1.477 GB, free: 3.305 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/1.017, allocations: 12.03 kB / 1.477 GB, free: 3.293 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002797/1.02, allocations: 414.5 kB / 1.478 GB, free: 2.887 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/1.022, allocations: 1.035 MB / 1.479 GB, free: 1.805 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/1.022, allocations: 106.7 kB / 1.479 GB, free: 1.699 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/1.022, allocations: 128 kB / 1.479 GB, free: 1.574 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/1.025, allocations: 1.521 MB / 1.481 GB, free: 15.98 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/1.025, allocations: 7.938 kB / 1.481 GB, free: 15.97 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/1.025, allocations: 56 kB / 1.481 GB, free: 15.91 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/1.025, allocations: 39.98 kB / 1.481 GB, free: 15.88 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003047/1.028, allocations: 1.583 MB / 1.482 GB, free: 14.29 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 preOpt removeSimpleEquations (simulation): time 0.008636/1.037, allocations: 5.308 MB / 1.487 GB, free: 8.66 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/1.04, allocations: 1.441 MB / 1.489 GB, free: 7.141 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009723/1.041, allocations: 446.4 kB / 1.489 GB, free: 6.707 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008476/1.041, allocations: 425.3 kB / 1.49 GB, free: 6.215 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001592/1.043, allocations: 0.6853 MB / 1.49 GB, free: 5.512 MB / 1.186 GB Notification: Performance of pre-optimization done (n=107): time 4.138e-06/1.043, allocations: 4 kB / 1.49 GB, free: 5.508 MB / 1.186 GB Notification: Performance of matching and sorting (n=107): time 0.006873/1.05, allocations: 1.669 MB / 1.492 GB, free: 3.812 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/1.05, allocations: 196.9 kB / 1.492 GB, free: 3.578 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/1.052, allocations: 0.896 MB / 1.493 GB, free: 2.66 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002239/1.052, allocations: 53.64 kB / 1.493 GB, free: 2.602 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008179/1.053, allocations: 0.6103 MB / 1.494 GB, free: 1.984 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000526/1.054, allocations: 368.9 kB / 1.494 GB, free: 1.621 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005257/1.054, allocations: 214.8 kB / 1.494 GB, free: 1.402 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002086/1.054, allocations: 341.9 kB / 1.494 GB, free: 1.062 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/1.056, allocations: 410.3 kB / 1.495 GB, free: 0.6641 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/1.057, allocations: 0.5724 MB / 1.495 GB, free: 40 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002926/1.06, allocations: 0.9566 MB / 1.496 GB, free: 15.04 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/1.06, allocations: 0 / 1.496 GB, free: 15.04 MB / 1.201 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004672/1.065, allocations: 1.235 MB / 1.498 GB, free: 13.79 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/1.065, allocations: 8 kB / 1.498 GB, free: 13.79 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/1.065, allocations: 4 kB / 1.498 GB, free: 13.78 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000978/1.066, allocations: 89.17 kB / 1.498 GB, free: 13.69 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/1.068, allocations: 259.6 kB / 1.498 GB, free: 13.44 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003755/1.072, allocations: 1.65 MB / 1.5 GB, free: 11.64 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/1.074, allocations: 139.2 kB / 1.5 GB, free: 11.5 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/1.074, allocations: 51.97 kB / 1.5 GB, free: 11.45 MB / 1.201 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.0011/1.075, allocations: 343.2 kB / 1.5 GB, free: 11.11 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005314/1.076, allocations: 127.2 kB / 1.5 GB, free: 10.98 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006276/1.082, allocations: 1.441 MB / 1.502 GB, free: 9.531 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/1.082, allocations: 12 kB / 1.502 GB, free: 9.52 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.082, allocations: 0 / 1.502 GB, free: 9.52 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-05/1.082, allocations: 8.016 kB / 1.502 GB, free: 9.512 MB / 1.201 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.00938/1.092, allocations: 2.876 MB / 1.504 GB, free: 6.551 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/1.092, allocations: 0 / 1.504 GB, free: 6.551 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002015/1.094, allocations: 223.7 kB / 1.505 GB, free: 6.332 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007995/1.094, allocations: 72.78 kB / 1.505 GB, free: 6.258 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/1.095, allocations: 35.97 kB / 1.505 GB, free: 6.223 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003482/1.098, allocations: 1.666 MB / 1.506 GB, free: 4.414 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.098, allocations: 4 kB / 1.506 GB, free: 4.41 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005393/1.103, allocations: 1.331 MB / 1.508 GB, free: 3.059 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/1.105, allocations: 359.9 kB / 1.508 GB, free: 2.688 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003097/1.105, allocations: 27.94 kB / 1.508 GB, free: 2.66 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/1.107, allocations: 81.48 kB / 1.508 GB, free: 2.582 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002932/1.107, allocations: 92.75 kB / 1.508 GB, free: 2.492 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000195/1.107, allocations: 47.97 kB / 1.508 GB, free: 2.445 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001606/1.109, allocations: 0.6189 MB / 1.509 GB, free: 1.816 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.71e-07/1.109, allocations: 0 / 1.509 GB, free: 1.816 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002545/1.111, allocations: 0.4948 MB / 1.509 GB, free: 1.32 MB / 1.201 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.003683/1.115, allocations: 0.7236 MB / 1.51 GB, free: 0.7891 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00463/1.12, allocations: 1.101 MB / 1.511 GB, free: 15.68 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/1.12, allocations: 4 kB / 1.511 GB, free: 15.67 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002474/1.122, allocations: 0.6406 MB / 1.512 GB, free: 15.02 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004616/1.127, allocations: 0.5265 MB / 1.512 GB, free: 14.51 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008037/1.135, allocations: 2.374 MB / 1.515 GB, free: 12.11 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/1.136, allocations: 1.209 MB / 1.516 GB, free: 10.87 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002377/1.139, allocations: 401.8 kB / 1.516 GB, free: 10.47 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006183/1.139, allocations: 135.4 kB / 1.516 GB, free: 10.34 MB / 1.217 GB Notification: Performance of SimCode: time 1.112e-06/1.139, allocations: 0 / 1.516 GB, free: 10.34 MB / 1.217 GB Notification: Performance of Templates: time 0.049/1.188, allocations: 25.22 MB / 1.541 GB, free: 1.445 MB / 1.232 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.795785248745233]