Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001467/0.001467, allocations: 110 kB / 18.94 MB, free: 2.949 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.001598/0.001598, allocations: 188.4 kB / 22.23 MB, free: 5.137 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.296/1.296, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.866/2.866, allocations: 495.7 MB / 0.7831 GB, free: 33.47 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_latest_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_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 71 kB / 1.137 GB, free: 33.85 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3034, allocations: 173.6 MB / 1.307 GB, free: 1.938 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1964/0.4998, allocations: 177.7 MB / 1.48 GB, free: 15.57 MB / 1.186 GB
Notification: Performance of NFInst.instExpressions: time 0.01822/0.518, allocations: 13.06 MB / 1.493 GB, free: 2.48 MB / 1.186 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.5192, allocations: 43.69 kB / 1.493 GB, free: 2.438 MB / 1.186 GB
Notification: Performance of NFTyping.typeComponents: time 0.001275/0.5204, allocations: 480.3 kB / 1.494 GB, free: 1.965 MB / 1.186 GB
Notification: Performance of NFTyping.typeBindings: time 0.002878/0.5233, allocations: 1.06 MB / 1.495 GB, free: 0.9023 MB / 1.186 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004608/0.5279, allocations: 1.936 MB / 1.497 GB, free: 14.97 MB / 1.201 GB
Notification: Performance of NFFlatten.flatten: time 0.003339/0.5313, allocations: 2.54 MB / 1.499 GB, free: 12.42 MB / 1.201 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.5332, allocations: 1.291 MB / 1.5 GB, free: 11.07 MB / 1.201 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.004189/0.5374, allocations: 1.63 MB / 1.502 GB, free: 9.469 MB / 1.201 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.5386, allocations: 0.8948 MB / 1.503 GB, free: 8.57 MB / 1.201 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002578/0.5388, allocations: 168 kB / 1.503 GB, free: 8.406 MB / 1.201 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002775/0.5416, allocations: 1.486 MB / 1.504 GB, free: 6.918 MB / 1.201 GB
Notification: Performance of NFScalarize.scalarize: time 0.0004823/0.5421, allocations: 0.4985 MB / 1.505 GB, free: 6.418 MB / 1.201 GB
Notification: Performance of NFVerifyModel.verify: time 0.0009261/0.543, allocations: 0.8747 MB / 1.506 GB, free: 5.539 MB / 1.201 GB
Notification: Performance of NFConvertDAE.convert: time 0.003867/0.5469, allocations: 2.822 MB / 1.509 GB, free: 2.707 MB / 1.201 GB
Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.5469, allocations: 0 / 1.509 GB, free: 2.707 MB / 1.201 GB
Notification: Performance of FrontEnd: time 1.152e-06/0.5469, allocations: 0 / 1.509 GB, free: 2.707 MB / 1.201 GB
Notification: Performance of Transformations before backend: time 2.588e-05/0.5469, allocations: 0 / 1.509 GB, free: 2.707 MB / 1.201 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.003543/0.5505, allocations: 2.004 MB / 1.511 GB, free: 0.6562 MB / 1.201 GB
Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.5505, allocations: 12.86 kB / 1.511 GB, free: 0.6445 MB / 1.201 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002485/0.553, allocations: 410.6 kB / 1.511 GB, free: 248 kB / 1.201 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.5547, allocations: 0.9555 MB / 1.512 GB, free: 15.25 MB / 1.217 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.289e-05/0.5548, allocations: 98.72 kB / 1.512 GB, free: 15.16 MB / 1.217 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.5549, allocations: 140 kB / 1.512 GB, free: 15.02 MB / 1.217 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002648/0.5576, allocations: 1.524 MB / 1.514 GB, free: 13.42 MB / 1.217 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.5576, allocations: 3.938 kB / 1.514 GB, free: 13.41 MB / 1.217 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.5578, allocations: 56 kB / 1.514 GB, free: 13.36 MB / 1.217 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.5578, allocations: 36 kB / 1.514 GB, free: 13.32 MB / 1.217 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00276/0.5606, allocations: 1.579 MB / 1.515 GB, free: 11.74 MB / 1.217 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.007429/0.568, allocations: 5.34 MB / 1.52 GB, free: 6.055 MB / 1.217 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002487/0.5705, allocations: 1.148 MB / 1.522 GB, free: 4.902 MB / 1.217 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008425/0.5713, allocations: 446.4 kB / 1.522 GB, free: 4.465 MB / 1.217 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005913/0.5719, allocations: 124.8 kB / 1.522 GB, free: 4.344 MB / 1.217 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001275/0.5732, allocations: 0.6918 MB / 1.523 GB, free: 3.633 MB / 1.217 GB
Notification: Performance of pre-optimization done (n=107): time 2.364e-06/0.5732, allocations: 0 / 1.523 GB, free: 3.633 MB / 1.217 GB
Notification: Performance of matching and sorting (n=107): time 0.004276/0.5775, allocations: 1.594 MB / 1.524 GB, free: 2.031 MB / 1.217 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.5776, allocations: 200.9 kB / 1.525 GB, free: 1.789 MB / 1.217 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.5788, allocations: 0.8959 MB / 1.525 GB, free: 0.8711 MB / 1.217 GB
Notification: Performance of collectPreVariables (initialization): time 9.136e-05/0.5789, allocations: 49.7 kB / 1.525 GB, free: 0.8164 MB / 1.217 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0005117/0.5794, allocations: 0.6064 MB / 1.526 GB, free: 208 kB / 1.217 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0003313/0.5797, allocations: 369 kB / 1.526 GB, free: 15.84 MB / 1.232 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003417/0.5801, allocations: 214.9 kB / 1.527 GB, free: 15.62 MB / 1.232 GB
Notification: Performance of setup shared object (initialization): time 0.000163/0.5802, allocations: 349.9 kB / 1.527 GB, free: 15.27 MB / 1.232 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008127/0.581, allocations: 398.4 kB / 1.527 GB, free: 14.88 MB / 1.232 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.582, allocations: 0.5668 MB / 1.528 GB, free: 14.27 MB / 1.232 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.5838, allocations: 0.9527 MB / 1.529 GB, free: 13.27 MB / 1.232 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.5838, allocations: 0 / 1.529 GB, free: 13.27 MB / 1.232 GB
Notification: Performance of matching and sorting (n=133) (initialization): time 0.002816/0.5866, allocations: 1.243 MB / 1.53 GB, free: 12.02 MB / 1.232 GB
Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.5867, allocations: 4 kB / 1.53 GB, free: 12.02 MB / 1.232 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.5867, allocations: 4.406 kB / 1.53 GB, free: 12.02 MB / 1.232 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006075/0.5873, allocations: 88.77 kB / 1.53 GB, free: 11.93 MB / 1.232 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.5884, allocations: 259.6 kB / 1.53 GB, free: 11.67 MB / 1.232 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.5906, allocations: 1.551 MB / 1.532 GB, free: 10 MB / 1.232 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.5917, allocations: 139.1 kB / 1.532 GB, free: 9.867 MB / 1.232 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.746e-05/0.5917, allocations: 47.97 kB / 1.532 GB, free: 9.82 MB / 1.232 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.0006418/0.5924, allocations: 354.5 kB / 1.532 GB, free: 9.465 MB / 1.232 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.5926, allocations: 131.2 kB / 1.532 GB, free: 9.336 MB / 1.232 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003204/0.5958, allocations: 1.425 MB / 1.534 GB, free: 7.895 MB / 1.232 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.5959, allocations: 12 kB / 1.534 GB, free: 7.883 MB / 1.232 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.5959, allocations: 0 / 1.534 GB, free: 7.883 MB / 1.232 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.5959, allocations: 11.97 kB / 1.534 GB, free: 7.871 MB / 1.232 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.004948/0.6008, allocations: 2.84 MB / 1.537 GB, free: 4.953 MB / 1.232 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.6008, allocations: 8 kB / 1.537 GB, free: 4.945 MB / 1.232 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009963/0.6018, allocations: 223.7 kB / 1.537 GB, free: 4.727 MB / 1.232 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004395/0.6023, allocations: 68.8 kB / 1.537 GB, free: 4.656 MB / 1.232 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.818e-05/0.6023, allocations: 31.97 kB / 1.537 GB, free: 4.625 MB / 1.232 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.6043, allocations: 1.574 MB / 1.539 GB, free: 2.93 MB / 1.232 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6043, allocations: 0 / 1.539 GB, free: 2.93 MB / 1.232 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/0.6071, allocations: 1.331 MB / 1.54 GB, free: 1.578 MB / 1.232 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0006341/0.6078, allocations: 278.8 kB / 1.54 GB, free: 1.305 MB / 1.232 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.6079, allocations: 27.94 kB / 1.54 GB, free: 1.277 MB / 1.232 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009188/0.6088, allocations: 83.91 kB / 1.54 GB, free: 1.195 MB / 1.232 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.609, allocations: 92.77 kB / 1.54 GB, free: 1.105 MB / 1.232 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.6091, allocations: 51.97 kB / 1.54 GB, free: 1.055 MB / 1.232 GB
Notification: Performance of sorting global known variables: time 0.0008872/0.61, allocations: 0.6111 MB / 1.541 GB, free: 444 kB / 1.232 GB
Notification: Performance of sort global known variables: time 8e-08/0.61, allocations: 0 / 1.541 GB, free: 444 kB / 1.232 GB
Notification: Performance of remove unused functions: time 0.001247/0.6113, allocations: 0.4988 MB / 1.541 GB, free: 15.93 MB / 1.248 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.002095/0.6134, allocations: 0.7175 MB / 1.542 GB, free: 15.4 MB / 1.248 GB
Notification: Performance of simCode: created initialization part: time 0.002331/0.6157, allocations: 1.109 MB / 1.543 GB, free: 14.28 MB / 1.248 GB
Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6157, allocations: 0 / 1.543 GB, free: 14.28 MB / 1.248 GB
Notification: Performance of simCode: created simulation system equations: time 0.001235/0.6169, allocations: 0.6368 MB / 1.544 GB, free: 13.63 MB / 1.248 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/0.6191, allocations: 0.5266 MB / 1.544 GB, free: 13.12 MB / 1.248 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00416/0.6233, allocations: 2.367 MB / 1.547 GB, free: 10.73 MB / 1.248 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008701/0.6241, allocations: 1.213 MB / 1.548 GB, free: 9.48 MB / 1.248 GB
Notification: Performance of simCode: alias equations: time 0.001224/0.6254, allocations: 389.8 kB / 1.548 GB, free: 9.098 MB / 1.248 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003601/0.6257, allocations: 139.4 kB / 1.548 GB, free: 8.961 MB / 1.248 GB
Notification: Performance of SimCode: time 1.112e-06/0.6257, allocations: 0 / 1.548 GB, free: 8.961 MB / 1.248 GB
Notification: Performance of Templates: time 0.04181/0.6675, allocations: 25.54 MB / 1.573 GB, free: 15.73 MB / 1.279 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.128856115974486]