Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00155/0.00155, allocations: 110.2 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.001601/0.001601, allocations: 192 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.302/1.302, 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.899/2.899, allocations: 0.4893 GB / 0.7884 GB, free: 33.22 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.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_latest_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_latest_Buildings.HeatTransfer.Windows.Examples.SideFins") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 65.05 kB / 1.145 GB, free: 30.67 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3146, allocations: 174.9 MB / 1.316 GB, free: 9.715 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.00858/0.3232, allocations: 6.303 MB / 1.322 GB, free: 3.379 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.167/0.4902, allocations: 152.2 MB / 1.471 GB, free: 10.62 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.4913, allocations: 31.75 kB / 1.471 GB, free: 10.59 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.0008833/0.4922, allocations: 233.8 kB / 1.471 GB, free: 10.36 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.002161/0.4944, allocations: 0.7082 MB / 1.472 GB, free: 9.648 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.4965, allocations: 1.015 MB / 1.473 GB, free: 8.641 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.001999/0.4985, allocations: 2.064 MB / 1.475 GB, free: 6.57 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0008777/0.4994, allocations: 0.5805 MB / 1.475 GB, free: 5.949 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0008056/0.5002, allocations: 0.7593 MB / 1.476 GB, free: 5.188 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000844/0.5011, allocations: 0.8055 MB / 1.477 GB, free: 4.379 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002347/0.5013, allocations: 192 kB / 1.477 GB, free: 4.191 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.5024, allocations: 0.6713 MB / 1.478 GB, free: 3.52 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0004129/0.5028, allocations: 478.6 kB / 1.478 GB, free: 3.051 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0007437/0.5036, allocations: 0.8515 MB / 1.479 GB, free: 2.195 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.002545/0.5061, allocations: 2.483 MB / 1.481 GB, free: 15.7 MB / 1.186 GB
Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5061, allocations: 0 / 1.481 GB, free: 15.7 MB / 1.186 GB
Notification: Performance of FrontEnd: time 1.643e-06/0.5061, allocations: 0 / 1.481 GB, free: 15.7 MB / 1.186 GB
Notification: Performance of Transformations before backend: time 2.294e-05/0.5061, allocations: 0 / 1.481 GB, free: 15.7 MB / 1.186 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.003308/0.5094, allocations: 1.882 MB / 1.483 GB, free: 13.78 MB / 1.186 GB
Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.5095, allocations: 8.031 kB / 1.483 GB, free: 13.77 MB / 1.186 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008984/0.5185, allocations: 1.299 MB / 1.484 GB, free: 12.47 MB / 1.186 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.5201, allocations: 0.9992 MB / 1.485 GB, free: 11.44 MB / 1.186 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-05/0.5202, allocations: 94.67 kB / 1.486 GB, free: 11.35 MB / 1.186 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000227/0.5204, allocations: 132 kB / 1.486 GB, free: 11.22 MB / 1.186 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.005437/0.5259, allocations: 2.205 MB / 1.488 GB, free: 8.953 MB / 1.186 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.5259, allocations: 0 / 1.488 GB, free: 8.953 MB / 1.186 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/0.5261, allocations: 63.94 kB / 1.488 GB, free: 8.891 MB / 1.186 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.668e-05/0.5261, allocations: 32 kB / 1.488 GB, free: 8.859 MB / 1.186 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008257/0.5344, allocations: 2.964 MB / 1.491 GB, free: 5.887 MB / 1.186 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009307/0.5437, allocations: 5.462 MB / 1.496 GB, free: 240 kB / 1.186 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.008334/0.552, allocations: 2.791 MB / 1.499 GB, free: 13.44 MB / 1.201 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003263/0.5553, allocations: 1.074 MB / 1.5 GB, free: 12.36 MB / 1.201 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003348/0.5556, allocations: 89.34 kB / 1.5 GB, free: 12.27 MB / 1.201 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0038/0.5594, allocations: 1.446 MB / 1.501 GB, free: 10.81 MB / 1.201 GB
Notification: Performance of pre-optimization done (n=133): time 3.016e-06/0.5594, allocations: 0 / 1.501 GB, free: 10.81 MB / 1.201 GB
Notification: Performance of matching and sorting (n=133): time 0.01158/0.571, allocations: 3.558 MB / 1.505 GB, free: 7.242 MB / 1.201 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.5711, allocations: 201.2 kB / 1.505 GB, free: 7 MB / 1.201 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.5722, allocations: 0.8099 MB / 1.506 GB, free: 6.184 MB / 1.201 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.5723, allocations: 53.7 kB / 1.506 GB, free: 6.125 MB / 1.201 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004326/0.5727, allocations: 0.5133 MB / 1.506 GB, free: 5.605 MB / 1.201 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0004123/0.5732, allocations: 460.1 kB / 1.507 GB, free: 5.152 MB / 1.201 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005275/0.5737, allocations: 274.7 kB / 1.507 GB, free: 4.879 MB / 1.201 GB
Notification: Performance of setup shared object (initialization): time 0.0001597/0.5738, allocations: 357.9 kB / 1.507 GB, free: 4.523 MB / 1.201 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003298/0.5771, allocations: 1.052 MB / 1.508 GB, free: 3.469 MB / 1.201 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003445/0.5806, allocations: 1.187 MB / 1.51 GB, free: 2.262 MB / 1.201 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.006432/0.587, allocations: 2.067 MB / 1.512 GB, free: 184 kB / 1.201 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.587, allocations: 3.938 kB / 1.512 GB, free: 180 kB / 1.201 GB
Notification: Performance of matching and sorting (n=153) (initialization): time 0.007772/0.5948, allocations: 2.48 MB / 1.514 GB, free: 13.68 MB / 1.217 GB
Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.5948, allocations: 8 kB / 1.514 GB, free: 13.67 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.5948, allocations: 0 / 1.514 GB, free: 13.67 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005943/0.5954, allocations: 88.89 kB / 1.514 GB, free: 13.58 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002442/0.5979, allocations: 435.3 kB / 1.515 GB, free: 13.16 MB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.6, allocations: 1.549 MB / 1.516 GB, free: 11.49 MB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/0.602, allocations: 290.9 kB / 1.516 GB, free: 11.2 MB / 1.217 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/0.6022, allocations: 63.92 kB / 1.516 GB, free: 11.14 MB / 1.217 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.0006705/0.6029, allocations: 356.1 kB / 1.517 GB, free: 10.79 MB / 1.217 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.6031, allocations: 123.2 kB / 1.517 GB, free: 10.66 MB / 1.217 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008485/0.6116, allocations: 2.888 MB / 1.52 GB, free: 7.758 MB / 1.217 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.6116, allocations: 12 kB / 1.52 GB, free: 7.746 MB / 1.217 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.6116, allocations: 0 / 1.52 GB, free: 7.746 MB / 1.217 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.6117, allocations: 7.969 kB / 1.52 GB, free: 7.738 MB / 1.217 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.6138, allocations: 1.787 MB / 1.521 GB, free: 5.91 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.6138, allocations: 4 kB / 1.521 GB, free: 5.906 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00232/0.6161, allocations: 411.4 kB / 1.522 GB, free: 5.504 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000428/0.6166, allocations: 72.78 kB / 1.522 GB, free: 5.43 MB / 1.217 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/0.6167, allocations: 51.94 kB / 1.522 GB, free: 5.379 MB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.6186, allocations: 1.574 MB / 1.524 GB, free: 3.688 MB / 1.217 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6186, allocations: 3.984 kB / 1.524 GB, free: 3.684 MB / 1.217 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007595/0.6262, allocations: 2.585 MB / 1.526 GB, free: 1.074 MB / 1.217 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007735/0.627, allocations: 394.6 kB / 1.526 GB, free: 0.6875 MB / 1.217 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.6272, allocations: 28 kB / 1.526 GB, free: 0.6602 MB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/0.6291, allocations: 223.7 kB / 1.527 GB, free: 452 kB / 1.217 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/0.6293, allocations: 109.1 kB / 1.527 GB, free: 344 kB / 1.217 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/0.6295, allocations: 71.98 kB / 1.527 GB, free: 272 kB / 1.217 GB
Notification: Performance of sorting global known variables: time 0.000771/0.6303, allocations: 0.581 MB / 1.527 GB, free: 15.69 MB / 1.232 GB
Notification: Performance of sort global known variables: time 9e-08/0.6303, allocations: 4 kB / 1.527 GB, free: 15.69 MB / 1.232 GB
Notification: Performance of remove unused functions: time 0.001247/0.6315, allocations: 0.5106 MB / 1.528 GB, free: 15.18 MB / 1.232 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.001991/0.6335, allocations: 0.6511 MB / 1.529 GB, free: 14.7 MB / 1.232 GB
Notification: Performance of simCode: created initialization part: time 0.007476/0.641, allocations: 2.469 MB / 1.531 GB, free: 12.21 MB / 1.232 GB
Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.641, allocations: 0 / 1.531 GB, free: 12.21 MB / 1.232 GB
Notification: Performance of simCode: created simulation system equations: time 0.00381/0.6448, allocations: 1.353 MB / 1.532 GB, free: 10.85 MB / 1.232 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.6463, allocations: 357.1 kB / 1.533 GB, free: 10.52 MB / 1.232 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006582/0.6529, allocations: 3.063 MB / 1.536 GB, free: 7.422 MB / 1.232 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008269/0.6537, allocations: 1.191 MB / 1.537 GB, free: 6.199 MB / 1.232 GB
Notification: Performance of simCode: alias equations: time 0.001539/0.6552, allocations: 485.5 kB / 1.537 GB, free: 5.723 MB / 1.232 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006336/0.6559, allocations: 175.3 kB / 1.537 GB, free: 5.551 MB / 1.232 GB
Notification: Performance of SimCode: time 1.082e-06/0.6559, allocations: 0 / 1.537 GB, free: 5.551 MB / 1.232 GB
Notification: Performance of Templates: time 0.0403/0.6962, allocations: 25.55 MB / 1.562 GB, free: 12.17 MB / 1.264 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.193421760573983]