Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside.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.001557/0.001557, 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.001511/0.001511, allocations: 189.8 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.324/1.324, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.847/2.847, allocations: 496 MB / 0.7835 GB, free: 33.53 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-maint.12.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.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside")
translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 68.11 kB / 1.138 GB, free: 33.97 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3367, allocations: 173.6 MB / 1.307 GB, free: 1.941 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2114/0.5482, allocations: 177.4 MB / 1.481 GB, free: 15.84 MB / 1.186 GB
Notification: Performance of NFInst.instExpressions: time 0.01616/0.5643, allocations: 11.11 MB / 1.491 GB, free: 4.691 MB / 1.186 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.5661, allocations: 43.62 kB / 1.491 GB, free: 4.648 MB / 1.186 GB
Notification: Performance of NFTyping.typeComponents: time 0.001733/0.5679, allocations: 420.7 kB / 1.492 GB, free: 4.234 MB / 1.186 GB
Notification: Performance of NFTyping.typeBindings: time 0.003947/0.5718, allocations: 1.137 MB / 1.493 GB, free: 3.098 MB / 1.186 GB
Notification: Performance of NFTyping.typeClassSections: time 0.005085/0.5769, allocations: 1.778 MB / 1.495 GB, free: 1.324 MB / 1.186 GB
Notification: Performance of NFFlatten.flatten: time 0.003882/0.5808, allocations: 2.381 MB / 1.497 GB, free: 14.93 MB / 1.201 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001949/0.5827, allocations: 1.136 MB / 1.498 GB, free: 13.76 MB / 1.201 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.003985/0.5867, allocations: 1.459 MB / 1.5 GB, free: 12.31 MB / 1.201 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.5878, allocations: 0.8247 MB / 1.5 GB, free: 11.48 MB / 1.201 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.588, allocations: 156 kB / 1.5 GB, free: 11.33 MB / 1.201 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002979/0.591, allocations: 1.474 MB / 1.502 GB, free: 9.855 MB / 1.201 GB
Notification: Performance of NFScalarize.scalarize: time 0.0004447/0.5914, allocations: 458.6 kB / 1.502 GB, free: 9.406 MB / 1.201 GB
Notification: Performance of NFVerifyModel.verify: time 0.0007962/0.5922, allocations: 0.7775 MB / 1.503 GB, free: 8.625 MB / 1.201 GB
Notification: Performance of NFConvertDAE.convert: time 0.003647/0.5959, allocations: 2.6 MB / 1.506 GB, free: 6.016 MB / 1.201 GB
Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.5959, allocations: 0 / 1.506 GB, free: 6.016 MB / 1.201 GB
Notification: Performance of FrontEnd: time 1.252e-06/0.5959, allocations: 0 / 1.506 GB, free: 6.016 MB / 1.201 GB
Notification: Performance of Transformations before backend: time 1.712e-05/0.5959, allocations: 0 / 1.506 GB, free: 6.016 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: 296
 * Number of variables: 296
Notification: Performance of Generate backend data structure: time 0.00334/0.5993, allocations: 1.864 MB / 1.507 GB, free: 4.105 MB / 1.201 GB
Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.5993, allocations: 8.922 kB / 1.507 GB, free: 4.098 MB / 1.201 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002102/0.6014, allocations: 362.7 kB / 1.508 GB, free: 3.742 MB / 1.201 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.603, allocations: 0.9084 MB / 1.509 GB, free: 2.801 MB / 1.201 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.677e-05/0.6031, allocations: 98.27 kB / 1.509 GB, free: 2.703 MB / 1.201 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.6033, allocations: 112 kB / 1.509 GB, free: 2.594 MB / 1.201 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002325/0.6056, allocations: 1.294 MB / 1.51 GB, free: 1.234 MB / 1.201 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.6056, allocations: 0 / 1.51 GB, free: 1.234 MB / 1.201 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.6057, allocations: 51.98 kB / 1.51 GB, free: 1.184 MB / 1.201 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.6057, allocations: 28 kB / 1.51 GB, free: 1.156 MB / 1.201 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/0.6082, allocations: 1.453 MB / 1.512 GB, free: 15.7 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.006227/0.6144, allocations: 4.031 MB / 1.516 GB, free: 11.45 MB / 1.217 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.6166, allocations: 1.082 MB / 1.517 GB, free: 10.37 MB / 1.217 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007475/0.6174, allocations: 420.3 kB / 1.517 GB, free: 9.957 MB / 1.217 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006054/0.618, allocations: 124.8 kB / 1.517 GB, free: 9.832 MB / 1.217 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/0.6192, allocations: 0.6528 MB / 1.518 GB, free: 9.16 MB / 1.217 GB
Notification: Performance of pre-optimization done (n=106): time 2.154e-06/0.6192, allocations: 0 / 1.518 GB, free: 9.16 MB / 1.217 GB
Notification: Performance of matching and sorting (n=106): time 0.004042/0.6232, allocations: 1.535 MB / 1.519 GB, free: 7.617 MB / 1.217 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.6233, allocations: 196.9 kB / 1.52 GB, free: 7.383 MB / 1.217 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.6245, allocations: 0.8786 MB / 1.52 GB, free: 6.48 MB / 1.217 GB
Notification: Performance of collectPreVariables (initialization): time 8.447e-05/0.6246, allocations: 45.7 kB / 1.52 GB, free: 6.43 MB / 1.217 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004469/0.625, allocations: 0.5246 MB / 1.521 GB, free: 5.898 MB / 1.217 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.6253, allocations: 372.8 kB / 1.521 GB, free: 5.531 MB / 1.217 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003479/0.6257, allocations: 210.9 kB / 1.522 GB, free: 5.316 MB / 1.217 GB
Notification: Performance of setup shared object (initialization): time 0.0001696/0.6258, allocations: 353.9 kB / 1.522 GB, free: 4.965 MB / 1.217 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007658/0.6266, allocations: 382.4 kB / 1.522 GB, free: 4.594 MB / 1.217 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008854/0.6275, allocations: 0.5085 MB / 1.523 GB, free: 4.059 MB / 1.217 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.6291, allocations: 0.8641 MB / 1.524 GB, free: 3.176 MB / 1.217 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.6291, allocations: 0 / 1.524 GB, free: 3.176 MB / 1.217 GB
Notification: Performance of matching and sorting (n=130) (initialization): time 0.0026/0.6317, allocations: 1.169 MB / 1.525 GB, free: 1.996 MB / 1.217 GB
Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.6318, allocations: 4 kB / 1.525 GB, free: 1.992 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.6318, allocations: 4 kB / 1.525 GB, free: 1.988 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006221/0.6324, allocations: 84.86 kB / 1.525 GB, free: 1.902 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009838/0.6334, allocations: 231.6 kB / 1.525 GB, free: 1.676 MB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/0.6358, allocations: 1.548 MB / 1.527 GB, free: 8 kB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009317/0.6367, allocations: 137.5 kB / 1.527 GB, free: 15.87 MB / 1.232 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/0.6369, allocations: 47.97 kB / 1.527 GB, free: 15.82 MB / 1.232 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 6
 * 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 (128):
 * Single equations (assignments): 127
 * 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.0006167/0.6375, allocations: 327.2 kB / 1.527 GB, free: 15.49 MB / 1.232 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.6377, allocations: 131.1 kB / 1.527 GB, free: 15.36 MB / 1.232 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003158/0.6409, allocations: 1.498 MB / 1.529 GB, free: 13.85 MB / 1.232 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.6409, allocations: 12 kB / 1.529 GB, free: 13.84 MB / 1.232 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.6409, allocations: 0 / 1.529 GB, free: 13.84 MB / 1.232 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.6409, allocations: 7.969 kB / 1.529 GB, free: 13.83 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.005266/0.6462, allocations: 2.744 MB / 1.531 GB, free: 11 MB / 1.232 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.6462, allocations: 4 kB / 1.531 GB, free: 11 MB / 1.232 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000939/0.6471, allocations: 192 kB / 1.531 GB, free: 10.81 MB / 1.232 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000443/0.6476, allocations: 80.72 kB / 1.532 GB, free: 10.73 MB / 1.232 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.708e-05/0.6477, allocations: 35.97 kB / 1.532 GB, free: 10.7 MB / 1.232 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.6497, allocations: 1.57 MB / 1.533 GB, free: 9.008 MB / 1.232 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6497, allocations: 0 / 1.533 GB, free: 9.008 MB / 1.232 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003801/0.6535, allocations: 1.87 MB / 1.535 GB, free: 7.098 MB / 1.232 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000687/0.6542, allocations: 274.9 kB / 1.535 GB, free: 6.828 MB / 1.232 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.6544, allocations: 28 kB / 1.535 GB, free: 6.801 MB / 1.232 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008275/0.6552, allocations: 71.92 kB / 1.535 GB, free: 6.73 MB / 1.232 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.6554, allocations: 100.7 kB / 1.535 GB, free: 6.633 MB / 1.232 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-05/0.6555, allocations: 44.03 kB / 1.535 GB, free: 6.59 MB / 1.232 GB
Notification: Performance of sorting global known variables: time 0.0009009/0.6564, allocations: 0.6222 MB / 1.536 GB, free: 5.957 MB / 1.232 GB
Notification: Performance of sort global known variables: time 1.61e-07/0.6564, allocations: 0 / 1.536 GB, free: 5.957 MB / 1.232 GB
Notification: Performance of remove unused functions: time 0.00118/0.6575, allocations: 474.9 kB / 1.536 GB, free: 5.492 MB / 1.232 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X)
 * 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 (114):
 * Single equations (assignments): 108
 * 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.002099/0.6596, allocations: 0.7099 MB / 1.537 GB, free: 4.961 MB / 1.232 GB
Notification: Performance of simCode: created initialization part: time 0.002224/0.6619, allocations: 1.058 MB / 1.538 GB, free: 3.887 MB / 1.232 GB
Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6619, allocations: 0 / 1.538 GB, free: 3.887 MB / 1.232 GB
Notification: Performance of simCode: created simulation system equations: time 0.001224/0.6631, allocations: 0.6333 MB / 1.539 GB, free: 3.246 MB / 1.232 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.665, allocations: 0.5177 MB / 1.539 GB, free: 2.746 MB / 1.232 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.6693, allocations: 2.429 MB / 1.542 GB, free: 276 kB / 1.232 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009438/0.6703, allocations: 1.154 MB / 1.543 GB, free: 15.09 MB / 1.248 GB
Notification: Performance of simCode: alias equations: time 0.001115/0.6714, allocations: 373.7 kB / 1.543 GB, free: 14.72 MB / 1.248 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003607/0.6717, allocations: 135.4 kB / 1.543 GB, free: 14.59 MB / 1.248 GB
Notification: Performance of SimCode: time 4.1e-07/0.6717, allocations: 0 / 1.543 GB, free: 14.59 MB / 1.248 GB
Notification: Performance of Templates: time 0.04333/0.7151, allocations: 24.79 MB / 1.568 GB, free: 6.109 MB / 1.264 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.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.574571046978235]