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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 212.4 kB / 22.99 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.191/3.191, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002648/0.002648, allocations: 71.81 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3302, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008248/0.3384, allocations: 5.618 MB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1707/0.5092, allocations: 133.6 MB / 1.463 GB, free: 5.277 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.5102, allocations: 23.81 kB / 1.463 GB, free: 5.254 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007176/0.5109, allocations: 249.7 kB / 1.463 GB, free: 5.008 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002219/0.5131, allocations: 0.7264 MB / 1.464 GB, free: 4.281 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.5155, allocations: 1.022 MB / 1.465 GB, free: 3.266 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002441/0.5179, allocations: 2.076 MB / 1.467 GB, free: 1.184 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.5189, allocations: 0.5839 MB / 1.468 GB, free: 0.5586 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.5201, allocations: 0.771 MB / 1.468 GB, free: 15.79 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009691/0.5211, allocations: 0.8093 MB / 1.469 GB, free: 14.97 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002558/0.5213, allocations: 196 kB / 1.469 GB, free: 14.78 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.5227, allocations: 0.6909 MB / 1.47 GB, free: 14.09 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004502/0.5231, allocations: 494.6 kB / 1.47 GB, free: 13.61 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007377/0.5238, allocations: 0.7038 MB / 1.471 GB, free: 12.9 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003075/0.5269, allocations: 2.545 MB / 1.474 GB, free: 10.34 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.5269, allocations: 4 kB / 1.474 GB, free: 10.34 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5269, allocations: 4 kB / 1.474 GB, free: 10.34 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.264e-05/0.527, allocations: 0 / 1.474 GB, free: 10.34 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.0039/0.5309, allocations: 1.906 MB / 1.475 GB, free: 8.383 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.5309, allocations: 12.03 kB / 1.475 GB, free: 8.371 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/0.5423, allocations: 1.373 MB / 1.477 GB, free: 6.996 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002402/0.5447, allocations: 1.007 MB / 1.478 GB, free: 5.961 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.5448, allocations: 102.6 kB / 1.478 GB, free: 5.859 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002698/0.5451, allocations: 132 kB / 1.478 GB, free: 5.73 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005937/0.5511, allocations: 2.46 MB / 1.48 GB, free: 3.148 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.5511, allocations: 0 / 1.48 GB, free: 3.148 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/0.5513, allocations: 59.98 kB / 1.48 GB, free: 3.09 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.78e-05/0.5513, allocations: 32 kB / 1.48 GB, free: 3.059 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008345/0.5596, allocations: 2.913 MB / 1.483 GB, free: 140 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009968/0.5696, allocations: 4.305 MB / 1.488 GB, free: 11.77 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008573/0.5782, allocations: 2.787 MB / 1.49 GB, free: 8.973 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003374/0.5816, allocations: 1.082 MB / 1.491 GB, free: 7.891 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003661/0.5819, allocations: 82.36 kB / 1.491 GB, free: 7.809 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004078/0.586, allocations: 1.546 MB / 1.493 GB, free: 6.219 MB / 1.186 GB Notification: Performance of pre-optimization done (n=133): time 3.606e-06/0.586, allocations: 0 / 1.493 GB, free: 6.219 MB / 1.186 GB Notification: Performance of matching and sorting (n=133): time 0.01215/0.5982, allocations: 3.546 MB / 1.496 GB, free: 2.664 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.5983, allocations: 205.2 kB / 1.497 GB, free: 2.418 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.5994, allocations: 0.7156 MB / 1.497 GB, free: 1.691 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001691/0.5996, allocations: 49.7 kB / 1.497 GB, free: 1.637 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004783/0.6, allocations: 0.5484 MB / 1.498 GB, free: 1.078 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004532/0.6005, allocations: 456.1 kB / 1.498 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005524/0.601, allocations: 270.8 kB / 1.499 GB, free: 368 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002349/0.6013, allocations: 410.7 kB / 1.499 GB, free: 15.95 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003334/0.6046, allocations: 1.045 MB / 1.5 GB, free: 14.9 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003588/0.6082, allocations: 1.341 MB / 1.501 GB, free: 13.5 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006483/0.6147, allocations: 2.063 MB / 1.503 GB, free: 11.43 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.6147, allocations: 0 / 1.503 GB, free: 11.43 MB / 1.201 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.008019/0.6227, allocations: 2.491 MB / 1.506 GB, free: 8.922 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.6227, allocations: 4 kB / 1.506 GB, free: 8.918 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.6227, allocations: 0 / 1.506 GB, free: 8.918 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006946/0.6234, allocations: 84.84 kB / 1.506 GB, free: 8.832 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002692/0.6261, allocations: 431.3 kB / 1.506 GB, free: 8.41 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/0.6284, allocations: 1.527 MB / 1.508 GB, free: 6.773 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/0.6309, allocations: 280.9 kB / 1.508 GB, free: 6.5 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/0.631, allocations: 63.92 kB / 1.508 GB, free: 6.438 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.0007713/0.6318, allocations: 355.8 kB / 1.508 GB, free: 6.082 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003115/0.6321, allocations: 111.3 kB / 1.508 GB, free: 5.973 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008743/0.6409, allocations: 2.871 MB / 1.511 GB, free: 3.086 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.6409, allocations: 16 kB / 1.511 GB, free: 3.07 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6409, allocations: 0 / 1.511 GB, free: 3.07 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.6409, allocations: 7.969 kB / 1.511 GB, free: 3.062 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/0.6429, allocations: 1.301 MB / 1.513 GB, free: 1.73 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.6429, allocations: 8 kB / 1.513 GB, free: 1.723 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002554/0.6455, allocations: 411.3 kB / 1.513 GB, free: 1.32 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004938/0.646, allocations: 80.78 kB / 1.513 GB, free: 1.238 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/0.6461, allocations: 47.94 kB / 1.513 GB, free: 1.191 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/0.6482, allocations: 1.54 MB / 1.515 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6482, allocations: 3.938 kB / 1.515 GB, free: 15.54 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00776/0.6559, allocations: 2.581 MB / 1.517 GB, free: 12.94 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009478/0.6569, allocations: 382.7 kB / 1.517 GB, free: 12.56 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/0.6571, allocations: 39.88 kB / 1.518 GB, free: 12.52 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002105/0.6592, allocations: 227.7 kB / 1.518 GB, free: 12.3 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.6594, allocations: 113.1 kB / 1.518 GB, free: 12.19 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/0.6596, allocations: 59.94 kB / 1.518 GB, free: 12.13 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007225/0.6603, allocations: 0.5263 MB / 1.518 GB, free: 11.61 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6603, allocations: 0 / 1.518 GB, free: 11.61 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001371/0.6617, allocations: 0.526 MB / 1.519 GB, free: 11.08 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.002243/0.6639, allocations: 0.6879 MB / 1.52 GB, free: 10.6 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007393/0.6713, allocations: 2.473 MB / 1.522 GB, free: 8.113 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.6713, allocations: 0 / 1.522 GB, free: 8.113 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003848/0.6752, allocations: 1.353 MB / 1.523 GB, free: 6.75 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.6766, allocations: 322.7 kB / 1.524 GB, free: 6.457 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006812/0.6835, allocations: 3.079 MB / 1.527 GB, free: 3.34 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006811/0.6841, allocations: 0.6139 MB / 1.527 GB, free: 2.688 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001725/0.6859, allocations: 476.9 kB / 1.528 GB, free: 2.219 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006843/0.6865, allocations: 163.3 kB / 1.528 GB, free: 2.059 MB / 1.217 GB Notification: Performance of SimCode: time 8.51e-07/0.6865, allocations: 4 kB / 1.528 GB, free: 2.055 MB / 1.217 GB Notification: Performance of Templates: time 0.04191/0.7285, allocations: 26.29 MB / 1.554 GB, free: 8.031 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 -s gbode -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/jenkins1/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.864132103990414]