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.001393/0.001393, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001682/0.001682, allocations: 190.5 kB / 22.11 MB, free: 5.152 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.5/1.5, allocations: 225.6 MB / 250.8 MB, free: 13.09 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 3.479/3.479, allocations: 495.8 MB / 0.783 GB, free: 33.48 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.002105/0.002105, allocations: 66.25 kB / 1.137 GB, free: 33.89 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3566, allocations: 173.6 MB / 1.307 GB, free: 1.934 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.009452/0.3661, allocations: 6.291 MB / 1.313 GB, free: 11.61 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.2129/0.579, allocations: 150.5 MB / 1.46 GB, free: 4.496 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.5806, allocations: 27.81 kB / 1.46 GB, free: 4.469 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0008918/0.5815, allocations: 237.8 kB / 1.46 GB, free: 4.234 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.003029/0.5845, allocations: 0.702 MB / 1.461 GB, free: 3.531 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.5876, allocations: 1.03 MB / 1.462 GB, free: 2.508 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.003439/0.591, allocations: 2.056 MB / 1.464 GB, free: 456 kB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.5922, allocations: 0.58 MB / 1.464 GB, free: 15.83 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.5937, allocations: 0.7632 MB / 1.465 GB, free: 15.06 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.5948, allocations: 0.8092 MB / 1.466 GB, free: 14.25 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 0.0003593/0.5952, allocations: 188 kB / 1.466 GB, free: 14.07 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002384/0.5976, allocations: 0.6597 MB / 1.467 GB, free: 13.41 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0007916/0.5984, allocations: 474.6 kB / 1.467 GB, free: 12.94 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.001658/0.6, allocations: 0.8553 MB / 1.468 GB, free: 12.08 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.006971/0.607, allocations: 2.471 MB / 1.47 GB, free: 9.602 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 1.429e-05/0.607, allocations: 0 / 1.47 GB, free: 9.602 MB / 1.17 GB
Notification: Performance of FrontEnd: time 4.449e-06/0.607, allocations: 0 / 1.47 GB, free: 9.602 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 0.000108/0.6071, allocations: 4 kB / 1.47 GB, free: 9.598 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.007076/0.6142, allocations: 1.886 MB / 1.472 GB, free: 7.664 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 8.964e-05/0.6143, allocations: 8.031 kB / 1.472 GB, free: 7.656 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009744/0.624, allocations: 1.295 MB / 1.474 GB, free: 6.359 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002644/0.6267, allocations: 0.9914 MB / 1.475 GB, free: 5.34 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.6268, allocations: 98.67 kB / 1.475 GB, free: 5.242 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002644/0.627, allocations: 132 kB / 1.475 GB, free: 5.113 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.006112/0.6332, allocations: 2.205 MB / 1.477 GB, free: 2.848 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.6332, allocations: 0 / 1.477 GB, free: 2.848 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001912/0.6334, allocations: 60 kB / 1.477 GB, free: 2.789 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/0.6334, allocations: 36 kB / 1.477 GB, free: 2.754 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008905/0.6423, allocations: 2.964 MB / 1.48 GB, free: 15.78 MB / 1.186 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/0.6543, allocations: 5.419 MB / 1.485 GB, free: 10.17 MB / 1.186 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.009119/0.6634, allocations: 2.795 MB / 1.488 GB, free: 7.371 MB / 1.186 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003768/0.6672, allocations: 1.091 MB / 1.489 GB, free: 6.277 MB / 1.186 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004257/0.6676, allocations: 89.34 kB / 1.489 GB, free: 6.188 MB / 1.186 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004401/0.672, allocations: 1.45 MB / 1.49 GB, free: 4.719 MB / 1.186 GB
Notification: Performance of pre-optimization done (n=133): time 5.64e-06/0.672, allocations: 0 / 1.49 GB, free: 4.719 MB / 1.186 GB
Notification: Performance of matching and sorting (n=133): time 0.01302/0.685, allocations: 3.558 MB / 1.494 GB, free: 1.152 MB / 1.186 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001819/0.6852, allocations: 197.2 kB / 1.494 GB, free: 0.9141 MB / 1.186 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.6868, allocations: 0.8138 MB / 1.495 GB, free: 92 kB / 1.186 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002501/0.687, allocations: 53.7 kB / 1.495 GB, free: 32 kB / 1.186 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0006919/0.6877, allocations: 0.5094 MB / 1.495 GB, free: 15.52 MB / 1.201 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0006227/0.6884, allocations: 468.1 kB / 1.496 GB, free: 15.05 MB / 1.201 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005843/0.6889, allocations: 270.8 kB / 1.496 GB, free: 14.79 MB / 1.201 GB
Notification: Performance of setup shared object (initialization): time 0.0002064/0.6892, allocations: 353.9 kB / 1.497 GB, free: 14.43 MB / 1.201 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00357/0.6927, allocations: 1.049 MB / 1.498 GB, free: 13.38 MB / 1.201 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003704/0.6964, allocations: 1.183 MB / 1.499 GB, free: 12.18 MB / 1.201 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00693/0.7034, allocations: 2.067 MB / 1.501 GB, free: 10.1 MB / 1.201 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.006e-06/0.7034, allocations: 3.938 kB / 1.501 GB, free: 10.09 MB / 1.201 GB
Notification: Performance of matching and sorting (n=153) (initialization): time 0.009136/0.7125, allocations: 2.488 MB / 1.503 GB, free: 7.594 MB / 1.201 GB
Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.7125, allocations: 11.94 kB / 1.503 GB, free: 7.582 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.7126, allocations: 4.062 kB / 1.503 GB, free: 7.578 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0007203/0.7133, allocations: 84.84 kB / 1.503 GB, free: 7.492 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/0.7161, allocations: 431.3 kB / 1.504 GB, free: 7.07 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/0.719, allocations: 1.551 MB / 1.505 GB, free: 5.398 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00279/0.7218, allocations: 293.7 kB / 1.505 GB, free: 5.113 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003766/0.7221, allocations: 59.94 kB / 1.506 GB, free: 5.055 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.001356/0.7235, allocations: 364.3 kB / 1.506 GB, free: 4.688 MB / 1.201 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006729/0.7242, allocations: 123.2 kB / 1.506 GB, free: 4.566 MB / 1.201 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/0.7345, allocations: 2.884 MB / 1.509 GB, free: 1.664 MB / 1.201 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.389e-05/0.7345, allocations: 16 kB / 1.509 GB, free: 1.648 MB / 1.201 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.7345, allocations: 0 / 1.509 GB, free: 1.648 MB / 1.201 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/0.7345, allocations: 7.969 kB / 1.509 GB, free: 1.641 MB / 1.201 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003348/0.7379, allocations: 1.776 MB / 1.511 GB, free: 15.82 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/0.7379, allocations: 0 / 1.511 GB, free: 15.82 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002638/0.7405, allocations: 411.4 kB / 1.511 GB, free: 15.41 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0005489/0.7411, allocations: 76.72 kB / 1.511 GB, free: 15.34 MB / 1.217 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002455/0.7413, allocations: 51.94 kB / 1.511 GB, free: 15.29 MB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/0.7437, allocations: 1.574 MB / 1.513 GB, free: 13.59 MB / 1.217 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.7437, allocations: 0 / 1.513 GB, free: 13.59 MB / 1.217 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009376/0.7531, allocations: 2.588 MB / 1.515 GB, free: 10.98 MB / 1.217 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001273/0.7543, allocations: 394.6 kB / 1.515 GB, free: 10.59 MB / 1.217 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005033/0.7548, allocations: 31.98 kB / 1.516 GB, free: 10.56 MB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002509/0.7573, allocations: 227.7 kB / 1.516 GB, free: 10.34 MB / 1.217 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003006/0.7576, allocations: 109.1 kB / 1.516 GB, free: 10.23 MB / 1.217 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002134/0.7579, allocations: 67.94 kB / 1.516 GB, free: 10.17 MB / 1.217 GB
Notification: Performance of sorting global known variables: time 0.001308/0.7592, allocations: 0.581 MB / 1.516 GB, free: 9.594 MB / 1.217 GB
Notification: Performance of sort global known variables: time 9e-08/0.7592, allocations: 0 / 1.516 GB, free: 9.594 MB / 1.217 GB
Notification: Performance of remove unused functions: time 0.00229/0.7615, allocations: 0.5067 MB / 1.517 GB, free: 9.086 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.002759/0.7642, allocations: 0.6511 MB / 1.518 GB, free: 8.613 MB / 1.217 GB
Notification: Performance of simCode: created initialization part: time 0.008965/0.7732, allocations: 2.48 MB / 1.52 GB, free: 6.117 MB / 1.217 GB
Notification: Performance of simCode: created event and clocks part: time 1.075e-05/0.7732, allocations: 4 kB / 1.52 GB, free: 6.113 MB / 1.217 GB
Notification: Performance of simCode: created simulation system equations: time 0.004674/0.7779, allocations: 1.349 MB / 1.521 GB, free: 4.754 MB / 1.217 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/0.7804, allocations: 354.5 kB / 1.522 GB, free: 4.43 MB / 1.217 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008744/0.7891, allocations: 3.065 MB / 1.525 GB, free: 1.336 MB / 1.217 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/0.7907, allocations: 1.195 MB / 1.526 GB, free: 112 kB / 1.217 GB
Notification: Performance of simCode: alias equations: time 0.002996/0.7937, allocations: 481.6 kB / 1.526 GB, free: 15.63 MB / 1.232 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/0.7947, allocations: 175.2 kB / 1.526 GB, free: 15.46 MB / 1.232 GB
Notification: Performance of SimCode: time 2.194e-06/0.7947, allocations: 0 / 1.526 GB, free: 15.46 MB / 1.232 GB
Notification: Performance of Templates: time 0.05454/0.8493, allocations: 25.54 MB / 1.551 GB, free: 6.109 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: 11.307317573577166]