Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001678/0.001678, allocations: 110 kB / 18.93 MB, free: 2.945 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.002022/0.002022, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.456/1.456, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.667/2.667, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 71.88 kB / 1.061 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7815/0.7836, allocations: 160.8 MB / 1.218 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2207/1.004, allocations: 177.7 MB / 1.392 GB, free: 2.023 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02012/1.024, allocations: 13.06 MB / 1.405 GB, free: 4.914 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001578/1.026, allocations: 43.69 kB / 1.405 GB, free: 4.871 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/1.028, allocations: 492.3 kB / 1.405 GB, free: 4.387 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004003/1.032, allocations: 1.051 MB / 1.406 GB, free: 3.332 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005387/1.037, allocations: 1.936 MB / 1.408 GB, free: 1.402 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00424/1.041, allocations: 2.551 MB / 1.411 GB, free: 14.84 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002543/1.044, allocations: 1.295 MB / 1.412 GB, free: 13.49 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005601/1.05, allocations: 1.491 MB / 1.413 GB, free: 12.03 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002004/1.052, allocations: 0.9102 MB / 1.414 GB, free: 11.11 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003942/1.052, allocations: 172 kB / 1.414 GB, free: 10.95 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004101/1.056, allocations: 1.493 MB / 1.416 GB, free: 9.449 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000822/1.057, allocations: 494.5 kB / 1.416 GB, free: 8.965 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001449/1.058, allocations: 0.8786 MB / 1.417 GB, free: 8.082 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006066/1.064, allocations: 2.813 MB / 1.42 GB, free: 5.262 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/1.064, allocations: 0 / 1.42 GB, free: 5.262 MB / 1.123 GB Notification: Performance of FrontEnd: time 4.158e-06/1.064, allocations: 7.922 kB / 1.42 GB, free: 5.254 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.716e-05/1.064, allocations: 0 / 1.42 GB, free: 5.254 MB / 1.123 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.00429/1.069, allocations: 2.08 MB / 1.422 GB, free: 3.109 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.069, allocations: 12.03 kB / 1.422 GB, free: 3.098 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002771/1.072, allocations: 414.5 kB / 1.422 GB, free: 2.691 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/1.074, allocations: 1.035 MB / 1.423 GB, free: 1.609 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.603e-05/1.074, allocations: 102.7 kB / 1.423 GB, free: 1.508 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/1.074, allocations: 128 kB / 1.424 GB, free: 1.383 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002944/1.077, allocations: 1.524 MB / 1.425 GB, free: 15.78 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/1.077, allocations: 0 / 1.425 GB, free: 15.78 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/1.077, allocations: 60 kB / 1.425 GB, free: 15.72 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/1.077, allocations: 32 kB / 1.425 GB, free: 15.69 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002938/1.08, allocations: 1.587 MB / 1.427 GB, free: 14.1 MB / 1.139 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.008694/1.089, allocations: 5.316 MB / 1.432 GB, free: 8.465 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/1.092, allocations: 1.45 MB / 1.433 GB, free: 6.934 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008477/1.092, allocations: 444.8 kB / 1.434 GB, free: 6.504 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008298/1.093, allocations: 429.3 kB / 1.434 GB, free: 6.008 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001379/1.095, allocations: 0.688 MB / 1.435 GB, free: 5.301 MB / 1.139 GB Notification: Performance of pre-optimization done (n=107): time 2.424e-06/1.095, allocations: 0 / 1.435 GB, free: 5.301 MB / 1.139 GB Notification: Performance of matching and sorting (n=107): time 0.004663/1.099, allocations: 1.665 MB / 1.436 GB, free: 3.609 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/1.099, allocations: 200.9 kB / 1.437 GB, free: 3.371 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/1.101, allocations: 0.8921 MB / 1.438 GB, free: 2.457 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001538/1.101, allocations: 49.7 kB / 1.438 GB, free: 2.402 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006488/1.102, allocations: 0.6064 MB / 1.438 GB, free: 1.789 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003934/1.102, allocations: 380.8 kB / 1.439 GB, free: 1.414 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003735/1.102, allocations: 210.8 kB / 1.439 GB, free: 1.203 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.103, allocations: 345.9 kB / 1.439 GB, free: 0.8594 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008304/1.103, allocations: 398.4 kB / 1.439 GB, free: 480 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/1.104, allocations: 0.5746 MB / 1.44 GB, free: 15.84 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/1.106, allocations: 0.9565 MB / 1.441 GB, free: 14.84 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/1.106, allocations: 7.938 kB / 1.441 GB, free: 14.83 MB / 1.154 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002991/1.109, allocations: 1.235 MB / 1.442 GB, free: 13.59 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/1.109, allocations: 8 kB / 1.442 GB, free: 13.58 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.109, allocations: 0 / 1.442 GB, free: 13.58 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006405/1.11, allocations: 89.17 kB / 1.442 GB, free: 13.49 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/1.111, allocations: 259.6 kB / 1.443 GB, free: 13.24 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/1.114, allocations: 1.651 MB / 1.444 GB, free: 11.44 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/1.115, allocations: 139.2 kB / 1.444 GB, free: 11.3 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/1.115, allocations: 55.97 kB / 1.444 GB, free: 11.25 MB / 1.154 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.0006914/1.116, allocations: 347.2 kB / 1.445 GB, free: 10.9 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002777/1.116, allocations: 127.2 kB / 1.445 GB, free: 10.78 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003363/1.119, allocations: 1.421 MB / 1.446 GB, free: 9.348 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/1.119, allocations: 12 kB / 1.446 GB, free: 9.336 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.119, allocations: 4 kB / 1.446 GB, free: 9.332 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/1.119, allocations: 15.91 kB / 1.446 GB, free: 9.316 MB / 1.154 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.005719/1.125, allocations: 2.868 MB / 1.449 GB, free: 6.359 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.125, allocations: 0 / 1.449 GB, free: 6.359 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/1.126, allocations: 223.7 kB / 1.449 GB, free: 6.141 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004576/1.126, allocations: 80.7 kB / 1.449 GB, free: 6.059 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.734e-05/1.127, allocations: 35.97 kB / 1.449 GB, free: 6.023 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/1.129, allocations: 1.663 MB / 1.451 GB, free: 4.215 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.129, allocations: 4.062 kB / 1.451 GB, free: 4.211 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/1.132, allocations: 1.323 MB / 1.452 GB, free: 2.871 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007522/1.132, allocations: 359.9 kB / 1.453 GB, free: 2.5 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/1.133, allocations: 27.98 kB / 1.453 GB, free: 2.473 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009283/1.134, allocations: 78.42 kB / 1.453 GB, free: 2.398 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/1.134, allocations: 92.83 kB / 1.453 GB, free: 2.309 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/1.134, allocations: 51.97 kB / 1.453 GB, free: 2.258 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009892/1.135, allocations: 0.6189 MB / 1.453 GB, free: 1.629 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.3e-07/1.135, allocations: 0 / 1.453 GB, free: 1.629 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001558/1.136, allocations: 0.4987 MB / 1.454 GB, free: 1.129 MB / 1.154 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.002517/1.139, allocations: 0.7169 MB / 1.455 GB, free: 0.582 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002599/1.141, allocations: 1.105 MB / 1.456 GB, free: 15.46 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/1.141, allocations: 4 kB / 1.456 GB, free: 15.45 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001321/1.143, allocations: 0.6406 MB / 1.456 GB, free: 14.8 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/1.145, allocations: 0.5287 MB / 1.457 GB, free: 14.29 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004665/1.15, allocations: 2.371 MB / 1.459 GB, free: 11.89 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009324/1.151, allocations: 1.209 MB / 1.46 GB, free: 10.65 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001402/1.152, allocations: 393.8 kB / 1.461 GB, free: 10.26 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003689/1.153, allocations: 139.4 kB / 1.461 GB, free: 10.12 MB / 1.17 GB Notification: Performance of SimCode: time 8.11e-07/1.153, allocations: 0 / 1.461 GB, free: 10.12 MB / 1.17 GB Notification: Performance of Templates: time 0.04751/1.2, allocations: 25.53 MB / 1.486 GB, free: 0.875 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.017570153810084]