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.001844/0.001844, allocations: 79.66 kB / 19.76 MB, free: 1.867 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.002252/0.002252, allocations: 160.8 kB / 23.01 MB, free: 4.605 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.433/1.433, allocations: 177.2 MB / 203.4 MB, free: 8.895 MB / 190.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.723/2.723, allocations: 359.1 MB / 0.6044 GB, free: 14.89 MB / 0.5762 GB " [Timeout remaining time 177] 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.002261/0.002261, allocations: 67.91 kB / 0.9515 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3228, allocations: 169.9 MB / 1.117 GB, free: 2.598 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.7991/1.122, allocations: 156 MB / 1.27 GB, free: 7.094 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01898/1.141, allocations: 12.05 MB / 1.282 GB, free: 14.95 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/1.142, allocations: 44.03 kB / 1.282 GB, free: 14.93 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/1.144, allocations: 470.2 kB / 1.282 GB, free: 14.64 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003274/1.147, allocations: 1.085 MB / 1.283 GB, free: 13.99 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005451/1.152, allocations: 1.892 MB / 1.285 GB, free: 13.02 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003853/1.156, allocations: 2.575 MB / 1.287 GB, free: 11.74 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002209/1.158, allocations: 1.265 MB / 1.289 GB, free: 11.07 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004458/1.163, allocations: 1.517 MB / 1.29 GB, free: 10.41 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/1.164, allocations: 0.8317 MB / 1.291 GB, free: 10.04 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003113/1.165, allocations: 175 kB / 1.291 GB, free: 10.04 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003081/1.168, allocations: 1.284 MB / 1.292 GB, free: 9.652 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005875/1.168, allocations: 0.4895 MB / 1.293 GB, free: 9.363 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000992/1.169, allocations: 0.7236 MB / 1.294 GB, free: 8.961 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005127/1.175, allocations: 2.844 MB / 1.296 GB, free: 7.84 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.175, allocations: 4 kB / 1.296 GB, free: 7.836 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.633e-06/1.175, allocations: 1 kB / 1.296 GB, free: 7.836 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.165e-05/1.175, allocations: 0 / 1.296 GB, free: 7.836 MB / 1.139 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.004389/1.179, allocations: 2.022 MB / 1.298 GB, free: 6.559 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/1.179, allocations: 11.84 kB / 1.298 GB, free: 6.559 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00344/1.182, allocations: 470.7 kB / 1.299 GB, free: 6.434 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0022/1.185, allocations: 0.9536 MB / 1.3 GB, free: 5.879 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/1.185, allocations: 106.2 kB / 1.3 GB, free: 5.828 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/1.185, allocations: 136.2 kB / 1.3 GB, free: 5.781 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003222/1.188, allocations: 2.026 MB / 1.302 GB, free: 4.473 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/1.188, allocations: 4.969 kB / 1.302 GB, free: 4.469 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/1.188, allocations: 58.34 kB / 1.302 GB, free: 4.426 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/1.188, allocations: 33 kB / 1.302 GB, free: 4.426 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/1.191, allocations: 1.538 MB / 1.304 GB, free: 3.844 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.008871/1.2, allocations: 3.775 MB / 1.307 GB, free: 1.012 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/1.203, allocations: 1.154 MB / 1.308 GB, free: 420 kB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009037/1.204, allocations: 436.8 kB / 1.309 GB, free: 192 kB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006556/1.205, allocations: 113.6 kB / 1.309 GB, free: 148 kB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001559/1.206, allocations: 1.04 MB / 1.31 GB, free: 15.28 MB / 1.154 GB Notification: Performance of pre-optimization done (n=107): time 3.476e-06/1.206, allocations: 0 / 1.31 GB, free: 15.28 MB / 1.154 GB Notification: Performance of matching and sorting (n=107): time 0.005285/1.211, allocations: 1.591 MB / 1.311 GB, free: 14.48 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001598/1.212, allocations: 191.9 kB / 1.312 GB, free: 14.26 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/1.213, allocations: 0.7696 MB / 1.312 GB, free: 13.81 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001774/1.213, allocations: 49.39 kB / 1.312 GB, free: 13.77 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008035/1.214, allocations: 0.6188 MB / 1.313 GB, free: 13.22 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004715/1.215, allocations: 369 kB / 1.313 GB, free: 12.9 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004206/1.215, allocations: 218.2 kB / 1.314 GB, free: 12.77 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001979/1.215, allocations: 344.8 kB / 1.314 GB, free: 12.44 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008628/1.216, allocations: 404 kB / 1.314 GB, free: 12.24 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/1.217, allocations: 0.7461 MB / 1.315 GB, free: 11.64 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/1.219, allocations: 0.9595 MB / 1.316 GB, free: 11.07 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.219, allocations: 0 / 1.316 GB, free: 11.07 MB / 1.154 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002867/1.222, allocations: 1.225 MB / 1.317 GB, free: 10.45 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.222, allocations: 5.5 kB / 1.317 GB, free: 10.45 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/1.222, allocations: 11.44 kB / 1.317 GB, free: 10.45 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006199/1.223, allocations: 86.11 kB / 1.317 GB, free: 10.41 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/1.224, allocations: 259.5 kB / 1.318 GB, free: 10.34 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/1.226, allocations: 1.508 MB / 1.319 GB, free: 8.91 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/1.227, allocations: 121.5 kB / 1.319 GB, free: 8.832 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/1.228, allocations: 59.52 kB / 1.319 GB, free: 8.809 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.000739/1.228, allocations: 342.1 kB / 1.319 GB, free: 8.555 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/1.229, allocations: 114.9 kB / 1.32 GB, free: 8.496 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003353/1.232, allocations: 1.424 MB / 1.321 GB, free: 7.172 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/1.232, allocations: 12 kB / 1.321 GB, free: 7.16 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/1.232, allocations: 7.938 kB / 1.321 GB, free: 7.152 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/1.232, allocations: 3.984 kB / 1.321 GB, free: 7.148 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.005061/1.237, allocations: 2.411 MB / 1.323 GB, free: 4.699 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.237, allocations: 0 / 1.323 GB, free: 4.699 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/1.238, allocations: 219.7 kB / 1.324 GB, free: 4.484 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/1.239, allocations: 76.78 kB / 1.324 GB, free: 4.406 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/1.239, allocations: 31.97 kB / 1.324 GB, free: 4.375 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/1.241, allocations: 1.54 MB / 1.325 GB, free: 2.727 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.241, allocations: 1.562 kB / 1.325 GB, free: 2.727 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/1.244, allocations: 1.326 MB / 1.326 GB, free: 1.379 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008299/1.245, allocations: 262.9 kB / 1.327 GB, free: 1.121 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/1.245, allocations: 28.05 kB / 1.327 GB, free: 1.094 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/1.246, allocations: 78.27 kB / 1.327 GB, free: 1.02 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/1.246, allocations: 92.77 kB / 1.327 GB, free: 0.9297 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/1.246, allocations: 55.91 kB / 1.327 GB, free: 0.875 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009298/1.247, allocations: 0.5263 MB / 1.327 GB, free: 360 kB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.247, allocations: 0 / 1.327 GB, free: 360 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.00178/1.249, allocations: 0.5143 MB / 1.328 GB, free: 15.83 MB / 1.17 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.002465/1.252, allocations: 0.7231 MB / 1.329 GB, free: 15.32 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002542/1.254, allocations: 1.117 MB / 1.33 GB, free: 14.19 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.254, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/1.255, allocations: 0.6289 MB / 1.33 GB, free: 13.55 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/1.257, allocations: 474.1 kB / 1.331 GB, free: 13.11 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004697/1.262, allocations: 2.382 MB / 1.333 GB, free: 10.7 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007707/1.263, allocations: 0.6373 MB / 1.334 GB, free: 10.02 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001343/1.264, allocations: 364.7 kB / 1.334 GB, free: 9.664 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003992/1.265, allocations: 140.4 kB / 1.334 GB, free: 9.527 MB / 1.17 GB Notification: Performance of SimCode: time 6.61e-07/1.265, allocations: 0 / 1.334 GB, free: 9.527 MB / 1.17 GB Notification: Performance of Templates: time 0.04216/1.307, allocations: 22.8 MB / 1.357 GB, free: 3.18 MB / 1.186 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 ida -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/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.866053858073428]