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.001722/0.001722, 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.001975/0.001975, allocations: 189.5 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.509/1.509, allocations: 225.6 MB / 251 MB, free: 13.01 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.781/2.781, allocations: 476.7 MB / 0.7646 GB, free: 9.859 MB / 0.6231 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.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.002099/0.002099, allocations: 59.89 kB / 1.11 GB, free: 6.285 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9731/0.9752, allocations: 168.8 MB / 1.274 GB, free: 4.184 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2305/1.206, allocations: 177.6 MB / 1.448 GB, free: 1.887 MB / 1.139 GB
Notification: Performance of NFInst.instExpressions: time 0.02137/1.227, allocations: 13.06 MB / 1.461 GB, free: 4.781 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002045/1.229, allocations: 47.62 kB / 1.461 GB, free: 4.734 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.001853/1.231, allocations: 476.4 kB / 1.461 GB, free: 4.266 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.004171/1.235, allocations: 1.064 MB / 1.462 GB, free: 3.199 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.005885/1.241, allocations: 1.931 MB / 1.464 GB, free: 1.273 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.004729/1.246, allocations: 2.563 MB / 1.466 GB, free: 14.7 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.00269/1.248, allocations: 1.287 MB / 1.468 GB, free: 13.36 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.005143/1.254, allocations: 1.497 MB / 1.469 GB, free: 11.88 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001883/1.255, allocations: 0.9026 MB / 1.47 GB, free: 10.98 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 0.0004178/1.256, allocations: 176 kB / 1.47 GB, free: 10.8 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0039/1.26, allocations: 1.493 MB / 1.472 GB, free: 9.309 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0006356/1.26, allocations: 0.4945 MB / 1.472 GB, free: 8.812 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.001302/1.262, allocations: 0.8708 MB / 1.473 GB, free: 7.938 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.005827/1.268, allocations: 2.813 MB / 1.476 GB, free: 5.117 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.268, allocations: 0 / 1.476 GB, free: 5.117 MB / 1.17 GB
Notification: Performance of FrontEnd: time 2.094e-06/1.268, allocations: 0 / 1.476 GB, free: 5.117 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 4.773e-05/1.268, allocations: 4 kB / 1.476 GB, free: 5.113 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.004466/1.272, allocations: 2.001 MB / 1.478 GB, free: 3.066 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/1.272, allocations: 16.02 kB / 1.478 GB, free: 3.051 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002821/1.275, allocations: 418.5 kB / 1.478 GB, free: 2.641 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002305/1.277, allocations: 0.9515 MB / 1.479 GB, free: 1.66 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/1.277, allocations: 98.72 kB / 1.479 GB, free: 1.562 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/1.278, allocations: 136 kB / 1.479 GB, free: 1.43 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003192/1.281, allocations: 1.523 MB / 1.481 GB, free: 15.83 MB / 1.186 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/1.281, allocations: 0 / 1.481 GB, free: 15.83 MB / 1.186 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/1.281, allocations: 67.98 kB / 1.481 GB, free: 15.76 MB / 1.186 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.598e-05/1.281, allocations: 32 kB / 1.481 GB, free: 15.73 MB / 1.186 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00296/1.284, allocations: 1.583 MB / 1.482 GB, free: 14.14 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.01034/1.294, allocations: 5.231 MB / 1.488 GB, free: 8.598 MB / 1.186 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.003105/1.297, allocations: 1.139 MB / 1.489 GB, free: 7.457 MB / 1.186 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/1.298, allocations: 450.4 kB / 1.489 GB, free: 7.016 MB / 1.186 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006956/1.299, allocations: 120.8 kB / 1.489 GB, free: 6.895 MB / 1.186 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00152/1.301, allocations: 0.6957 MB / 1.49 GB, free: 6.184 MB / 1.186 GB
Notification: Performance of pre-optimization done (n=107): time 3.266e-06/1.301, allocations: 0 / 1.49 GB, free: 6.184 MB / 1.186 GB
Notification: Performance of matching and sorting (n=107): time 0.004921/1.306, allocations: 1.598 MB / 1.491 GB, free: 4.574 MB / 1.186 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/1.306, allocations: 196.9 kB / 1.492 GB, free: 4.34 MB / 1.186 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/1.307, allocations: 0.896 MB / 1.493 GB, free: 3.422 MB / 1.186 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001582/1.307, allocations: 45.7 kB / 1.493 GB, free: 3.371 MB / 1.186 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0006724/1.308, allocations: 0.6064 MB / 1.493 GB, free: 2.758 MB / 1.186 GB
Notification: Performance of collectInitialBindings (initialization): time 0.000507/1.309, allocations: 372.8 kB / 1.493 GB, free: 2.391 MB / 1.186 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004637/1.309, allocations: 206.9 kB / 1.494 GB, free: 2.184 MB / 1.186 GB
Notification: Performance of setup shared object (initialization): time 0.0002027/1.309, allocations: 357.9 kB / 1.494 GB, free: 1.828 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009324/1.31, allocations: 390.4 kB / 1.494 GB, free: 1.445 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/1.311, allocations: 0.5746 MB / 1.495 GB, free: 0.8203 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002136/1.313, allocations: 0.9566 MB / 1.496 GB, free: 15.82 MB / 1.201 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.647e-06/1.313, allocations: 4 kB / 1.496 GB, free: 15.81 MB / 1.201 GB
Notification: Performance of matching and sorting (n=133) (initialization): time 0.003494/1.317, allocations: 1.239 MB / 1.497 GB, free: 14.57 MB / 1.201 GB
Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/1.317, allocations: 12.06 kB / 1.497 GB, free: 14.56 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/1.317, allocations: 0 / 1.497 GB, free: 14.56 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0007191/1.318, allocations: 88.77 kB / 1.497 GB, free: 14.47 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/1.319, allocations: 251.7 kB / 1.497 GB, free: 14.22 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/1.322, allocations: 1.556 MB / 1.499 GB, free: 12.55 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/1.323, allocations: 147.1 kB / 1.499 GB, free: 12.4 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/1.323, allocations: 47.97 kB / 1.499 GB, free: 12.36 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.0009999/1.324, allocations: 341.6 kB / 1.499 GB, free: 12.02 MB / 1.201 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005336/1.325, allocations: 127.2 kB / 1.5 GB, free: 11.89 MB / 1.201 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003902/1.329, allocations: 1.437 MB / 1.501 GB, free: 10.44 MB / 1.201 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/1.329, allocations: 12 kB / 1.501 GB, free: 10.43 MB / 1.201 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.329, allocations: 0 / 1.501 GB, free: 10.43 MB / 1.201 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/1.329, allocations: 7.969 kB / 1.501 GB, free: 10.42 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.006676/1.335, allocations: 2.844 MB / 1.504 GB, free: 7.5 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/1.335, allocations: 4 kB / 1.504 GB, free: 7.496 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/1.336, allocations: 215.8 kB / 1.504 GB, free: 7.285 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0005006/1.337, allocations: 76.72 kB / 1.504 GB, free: 7.207 MB / 1.201 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/1.337, allocations: 35.97 kB / 1.504 GB, free: 7.172 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00229/1.339, allocations: 1.57 MB / 1.506 GB, free: 5.477 MB / 1.201 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.339, allocations: 0 / 1.506 GB, free: 5.477 MB / 1.201 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003508/1.343, allocations: 1.323 MB / 1.507 GB, free: 4.133 MB / 1.201 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0009898/1.344, allocations: 286.7 kB / 1.507 GB, free: 3.852 MB / 1.201 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003859/1.344, allocations: 28 kB / 1.507 GB, free: 3.824 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/1.346, allocations: 79.91 kB / 1.507 GB, free: 3.746 MB / 1.201 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002504/1.346, allocations: 92.77 kB / 1.507 GB, free: 3.656 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/1.346, allocations: 47.97 kB / 1.507 GB, free: 3.609 MB / 1.201 GB
Notification: Performance of sorting global known variables: time 0.001301/1.347, allocations: 0.6189 MB / 1.508 GB, free: 2.98 MB / 1.201 GB
Notification: Performance of sort global known variables: time 1e-07/1.347, allocations: 0 / 1.508 GB, free: 2.98 MB / 1.201 GB
Notification: Performance of remove unused functions: time 0.001954/1.349, allocations: 0.4987 MB / 1.509 GB, free: 2.48 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.002745/1.352, allocations: 0.7133 MB / 1.509 GB, free: 1.949 MB / 1.201 GB
Notification: Performance of simCode: created initialization part: time 0.003218/1.355, allocations: 1.113 MB / 1.51 GB, free: 0.8242 MB / 1.201 GB
Notification: Performance of simCode: created event and clocks part: time 9.878e-06/1.355, allocations: 4 kB / 1.51 GB, free: 0.8203 MB / 1.201 GB
Notification: Performance of simCode: created simulation system equations: time 0.001581/1.357, allocations: 0.6328 MB / 1.511 GB, free: 180 kB / 1.201 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003267/1.36, allocations: 0.5273 MB / 1.511 GB, free: 15.67 MB / 1.217 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005917/1.366, allocations: 2.384 MB / 1.514 GB, free: 13.26 MB / 1.217 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/1.367, allocations: 1.209 MB / 1.515 GB, free: 12.02 MB / 1.217 GB
Notification: Performance of simCode: alias equations: time 0.001972/1.369, allocations: 385.9 kB / 1.515 GB, free: 11.64 MB / 1.217 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005409/1.37, allocations: 139.4 kB / 1.515 GB, free: 11.5 MB / 1.217 GB
Notification: Performance of SimCode: time 1.823e-06/1.37, allocations: 0 / 1.515 GB, free: 11.5 MB / 1.217 GB
Notification: Performance of Templates: time 0.05387/1.424, allocations: 25.53 MB / 1.54 GB, free: 2.293 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  -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.392032410018146]