Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.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.001292/0.001292, 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.001305/0.001305, allocations: 186.7 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.333/1.333, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
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.979/2.979, allocations: 496 MB / 0.7835 GB, free: 33.55 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.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins")
translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 61.86 kB / 1.138 GB, free: 33.81 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3495, allocations: 173.6 MB / 1.307 GB, free: 1.809 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008125/0.3577, allocations: 6.324 MB / 1.313 GB, free: 11.46 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1696/0.5272, allocations: 152.2 MB / 1.462 GB, free: 2.711 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008387/0.5281, allocations: 27.81 kB / 1.462 GB, free: 2.684 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006121/0.5287, allocations: 245.7 kB / 1.462 GB, free: 2.441 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.001875/0.5305, allocations: 0.6903 MB / 1.463 GB, free: 1.75 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.5326, allocations: 1.034 MB / 1.464 GB, free: 0.7227 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.002023/0.5346, allocations: 2.06 MB / 1.466 GB, free: 14.66 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0008901/0.5355, allocations: 0.5839 MB / 1.467 GB, free: 14.04 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0009372/0.5364, allocations: 0.7593 MB / 1.467 GB, free: 13.27 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0008826/0.5373, allocations: 0.8015 MB / 1.468 GB, free: 12.47 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002166/0.5375, allocations: 192 kB / 1.468 GB, free: 12.28 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.5386, allocations: 0.6713 MB / 1.469 GB, free: 11.61 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0004037/0.539, allocations: 482.6 kB / 1.469 GB, free: 11.14 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0008369/0.5399, allocations: 0.8475 MB / 1.47 GB, free: 10.29 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.002771/0.5426, allocations: 2.483 MB / 1.473 GB, free: 7.793 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5426, allocations: 0 / 1.473 GB, free: 7.793 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.132e-06/0.5427, allocations: 0 / 1.473 GB, free: 7.793 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 1.561e-05/0.5427, allocations: 0 / 1.473 GB, free: 7.793 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: 340
 * Number of variables: 340
Notification: Performance of Generate backend data structure: time 0.00335/0.546, allocations: 1.886 MB / 1.474 GB, free: 5.859 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.5461, allocations: 8.922 kB / 1.474 GB, free: 5.852 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008269/0.5543, allocations: 1.299 MB / 1.476 GB, free: 4.551 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.556, allocations: 0.9836 MB / 1.477 GB, free: 3.539 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.954e-05/0.5561, allocations: 106.7 kB / 1.477 GB, free: 3.434 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002355/0.5563, allocations: 132 kB / 1.477 GB, free: 3.305 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.004893/0.5612, allocations: 2.205 MB / 1.479 GB, free: 1.039 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.5613, allocations: 0 / 1.479 GB, free: 1.039 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.5614, allocations: 56 kB / 1.479 GB, free: 0.9844 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.924e-05/0.5614, allocations: 32 kB / 1.479 GB, free: 0.9531 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007185/0.5686, allocations: 2.968 MB / 1.482 GB, free: 13.98 MB / 1.186 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009275/0.5779, allocations: 5.454 MB / 1.487 GB, free: 8.332 MB / 1.186 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.007441/0.5853, allocations: 2.792 MB / 1.49 GB, free: 5.535 MB / 1.186 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002896/0.5882, allocations: 1.082 MB / 1.491 GB, free: 4.449 MB / 1.186 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003313/0.5886, allocations: 93.34 kB / 1.491 GB, free: 4.355 MB / 1.186 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003429/0.592, allocations: 1.453 MB / 1.493 GB, free: 2.883 MB / 1.186 GB
Notification: Performance of pre-optimization done (n=133): time 3.086e-06/0.592, allocations: 0 / 1.493 GB, free: 2.883 MB / 1.186 GB
Notification: Performance of matching and sorting (n=133): time 0.01046/0.6025, allocations: 3.558 MB / 1.496 GB, free: 15.32 MB / 1.201 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.6026, allocations: 197.2 kB / 1.496 GB, free: 15.08 MB / 1.201 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.6037, allocations: 0.8177 MB / 1.497 GB, free: 14.25 MB / 1.201 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.6038, allocations: 45.7 kB / 1.497 GB, free: 14.2 MB / 1.201 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004756/0.6043, allocations: 0.525 MB / 1.498 GB, free: 13.67 MB / 1.201 GB
Notification: Performance of collectInitialBindings (initialization): time 0.000409/0.6047, allocations: 456.1 kB / 1.498 GB, free: 13.22 MB / 1.201 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004738/0.6052, allocations: 266.8 kB / 1.498 GB, free: 12.95 MB / 1.201 GB
Notification: Performance of setup shared object (initialization): time 0.000153/0.6053, allocations: 349.9 kB / 1.499 GB, free: 12.61 MB / 1.201 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002857/0.6082, allocations: 1.056 MB / 1.5 GB, free: 11.55 MB / 1.201 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002972/0.6112, allocations: 1.191 MB / 1.501 GB, free: 10.34 MB / 1.201 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005607/0.6168, allocations: 2.063 MB / 1.503 GB, free: 8.258 MB / 1.201 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.6168, allocations: 3.938 kB / 1.503 GB, free: 8.254 MB / 1.201 GB
Notification: Performance of matching and sorting (n=153) (initialization): time 0.006816/0.6236, allocations: 2.484 MB / 1.505 GB, free: 5.758 MB / 1.201 GB
Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.6236, allocations: 8 kB / 1.505 GB, free: 5.75 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.6236, allocations: 3.984 kB / 1.505 GB, free: 5.746 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005752/0.6242, allocations: 92.7 kB / 1.505 GB, free: 5.652 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/0.6264, allocations: 431.3 kB / 1.506 GB, free: 5.23 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.6284, allocations: 1.543 MB / 1.507 GB, free: 3.566 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/0.6305, allocations: 292.5 kB / 1.508 GB, free: 3.281 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.6306, allocations: 67.92 kB / 1.508 GB, free: 3.215 MB / 1.201 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,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,$whenCondition6)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (151):
 * Single equations (assignments): 150
 * 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.0007052/0.6313, allocations: 356.4 kB / 1.508 GB, free: 2.855 MB / 1.201 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/0.6316, allocations: 127.1 kB / 1.508 GB, free: 2.73 MB / 1.201 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007659/0.6393, allocations: 2.876 MB / 1.511 GB, free: 15.84 MB / 1.217 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.6393, allocations: 16 kB / 1.511 GB, free: 15.82 MB / 1.217 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6393, allocations: 0 / 1.511 GB, free: 15.82 MB / 1.217 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.6393, allocations: 7.969 kB / 1.511 GB, free: 15.81 MB / 1.217 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.6415, allocations: 1.772 MB / 1.513 GB, free: 14 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.6415, allocations: 3.938 kB / 1.513 GB, free: 13.99 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002165/0.6437, allocations: 407.4 kB / 1.513 GB, free: 13.59 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000436/0.6441, allocations: 76.78 kB / 1.513 GB, free: 13.52 MB / 1.217 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/0.6442, allocations: 51.94 kB / 1.513 GB, free: 13.46 MB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/0.6461, allocations: 1.578 MB / 1.515 GB, free: 11.77 MB / 1.217 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6461, allocations: 3.938 kB / 1.515 GB, free: 11.77 MB / 1.217 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006925/0.653, allocations: 2.588 MB / 1.517 GB, free: 9.152 MB / 1.217 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0008419/0.6539, allocations: 398.5 kB / 1.518 GB, free: 8.762 MB / 1.217 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/0.6541, allocations: 32 kB / 1.518 GB, free: 8.73 MB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/0.6559, allocations: 223.7 kB / 1.518 GB, free: 8.512 MB / 1.217 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/0.6561, allocations: 117 kB / 1.518 GB, free: 8.398 MB / 1.217 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/0.6562, allocations: 63.94 kB / 1.518 GB, free: 8.336 MB / 1.217 GB
Notification: Performance of sorting global known variables: time 0.0007696/0.657, allocations: 0.581 MB / 1.519 GB, free: 7.762 MB / 1.217 GB
Notification: Performance of sort global known variables: time 9e-08/0.657, allocations: 0 / 1.519 GB, free: 7.762 MB / 1.217 GB
Notification: Performance of remove unused functions: time 0.001193/0.6582, allocations: 0.5184 MB / 1.519 GB, free: 7.242 MB / 1.217 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext)
 * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (148):
 * Single equations (assignments): 141
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 6
 * 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.001933/0.6601, allocations: 0.6371 MB / 1.52 GB, free: 6.781 MB / 1.217 GB
Notification: Performance of simCode: created initialization part: time 0.006626/0.6667, allocations: 2.484 MB / 1.522 GB, free: 4.281 MB / 1.217 GB
Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6667, allocations: 0 / 1.522 GB, free: 4.281 MB / 1.217 GB
Notification: Performance of simCode: created simulation system equations: time 0.003355/0.6701, allocations: 1.357 MB / 1.524 GB, free: 2.914 MB / 1.217 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.6714, allocations: 343.1 kB / 1.524 GB, free: 2.59 MB / 1.217 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006042/0.6775, allocations: 3.051 MB / 1.527 GB, free: 15.51 MB / 1.232 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007948/0.6783, allocations: 1.193 MB / 1.528 GB, free: 14.29 MB / 1.232 GB
Notification: Performance of simCode: alias equations: time 0.001559/0.6798, allocations: 493.5 kB / 1.529 GB, free: 13.8 MB / 1.232 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006081/0.6804, allocations: 171.2 kB / 1.529 GB, free: 13.64 MB / 1.232 GB
Notification: Performance of SimCode: time 6.02e-07/0.6804, allocations: 8 kB / 1.529 GB, free: 13.63 MB / 1.232 GB
Notification: Performance of Templates: time 0.04006/0.7205, allocations: 25.53 MB / 1.554 GB, free: 4.281 MB / 1.248 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.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.535764142870903]