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.001764/0.001764, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002549/0.002549, allocations: 220 kB / 22.24 MB, free: 5.109 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.626/1.626, allocations: 230.6 MB / 256 MB, free: 7.793 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.398/3.398, allocations: 0.4892 GB / 0.7943 GB, free: 35.53 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.002177/0.002177, allocations: 63.78 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4247, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.009685/0.4344, allocations: 5.613 MB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1937/0.628, allocations: 133.6 MB / 1.461 GB, free: 6.102 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002285/0.6303, allocations: 23.81 kB / 1.461 GB, free: 6.078 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.6318, allocations: 241.7 kB / 1.462 GB, free: 5.84 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003308/0.6351, allocations: 0.7223 MB / 1.462 GB, free: 5.117 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003408/0.6385, allocations: 1.022 MB / 1.463 GB, free: 4.102 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003641/0.6421, allocations: 2.084 MB / 1.465 GB, free: 2.012 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.6436, allocations: 0.5566 MB / 1.466 GB, free: 1.414 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.6455, allocations: 0.7671 MB / 1.467 GB, free: 0.6445 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/0.6472, allocations: 0.7312 MB / 1.467 GB, free: 15.91 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0005851/0.6477, allocations: 192 kB / 1.468 GB, free: 15.72 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.6496, allocations: 0.6753 MB / 1.468 GB, free: 15.05 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007412/0.6504, allocations: 494.5 kB / 1.469 GB, free: 14.56 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.6518, allocations: 0.6999 MB / 1.469 GB, free: 13.86 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004142/0.6559, allocations: 2.545 MB / 1.472 GB, free: 11.3 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6559, allocations: 0 / 1.472 GB, free: 11.3 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6559, allocations: 0 / 1.472 GB, free: 11.3 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.735e-05/0.656, allocations: 0 / 1.472 GB, free: 11.3 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.00516/0.6612, allocations: 1.91 MB / 1.474 GB, free: 9.348 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.6612, allocations: 8.031 kB / 1.474 GB, free: 9.34 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/0.6721, allocations: 1.385 MB / 1.475 GB, free: 7.953 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002813/0.6749, allocations: 1.003 MB / 1.476 GB, free: 6.922 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.675, allocations: 102.7 kB / 1.476 GB, free: 6.82 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004984/0.6755, allocations: 132 kB / 1.476 GB, free: 6.691 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007042/0.6826, allocations: 2.46 MB / 1.479 GB, free: 4.109 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.6826, allocations: 0 / 1.479 GB, free: 4.109 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/0.6828, allocations: 52 kB / 1.479 GB, free: 4.059 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/0.6828, allocations: 32 kB / 1.479 GB, free: 4.027 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00917/0.692, allocations: 2.921 MB / 1.482 GB, free: 1.098 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01094/0.7029, allocations: 4.305 MB / 1.486 GB, free: 12.73 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009248/0.7122, allocations: 2.788 MB / 1.489 GB, free: 9.934 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003768/0.7159, allocations: 1.082 MB / 1.49 GB, free: 8.852 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004055/0.7163, allocations: 74.36 kB / 1.49 GB, free: 8.777 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004523/0.7209, allocations: 1.55 MB / 1.491 GB, free: 7.184 MB / 1.186 GB Notification: Performance of pre-optimization done (n=133): time 3.947e-06/0.7209, allocations: 0 / 1.491 GB, free: 7.184 MB / 1.186 GB Notification: Performance of matching and sorting (n=133): time 0.01293/0.7338, allocations: 3.558 MB / 1.495 GB, free: 3.617 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.7339, allocations: 193.2 kB / 1.495 GB, free: 3.383 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.7352, allocations: 0.7234 MB / 1.496 GB, free: 2.648 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000198/0.7354, allocations: 53.7 kB / 1.496 GB, free: 2.59 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005604/0.736, allocations: 0.5327 MB / 1.496 GB, free: 2.047 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000549/0.7365, allocations: 460.1 kB / 1.497 GB, free: 1.594 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006114/0.7371, allocations: 270.8 kB / 1.497 GB, free: 1.324 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002429/0.7374, allocations: 406.7 kB / 1.497 GB, free: 0.918 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003613/0.741, allocations: 1.056 MB / 1.498 GB, free: 15.86 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004001/0.745, allocations: 1.334 MB / 1.5 GB, free: 14.47 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007134/0.7521, allocations: 2.067 MB / 1.502 GB, free: 12.39 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.7521, allocations: 4 kB / 1.502 GB, free: 12.38 MB / 1.201 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.008566/0.7607, allocations: 2.484 MB / 1.504 GB, free: 9.887 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.7607, allocations: 8 kB / 1.504 GB, free: 9.879 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.7607, allocations: 0 / 1.504 GB, free: 9.879 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006502/0.7614, allocations: 92.77 kB / 1.504 GB, free: 9.785 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/0.764, allocations: 427.3 kB / 1.505 GB, free: 9.367 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/0.7664, allocations: 1.527 MB / 1.506 GB, free: 7.73 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/0.7687, allocations: 263.1 kB / 1.506 GB, free: 7.473 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/0.7689, allocations: 71.92 kB / 1.506 GB, free: 7.402 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.0008626/0.7698, allocations: 347.6 kB / 1.507 GB, free: 7.055 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004242/0.7702, allocations: 115.3 kB / 1.507 GB, free: 6.941 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009353/0.7796, allocations: 2.883 MB / 1.51 GB, free: 4.043 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.7796, allocations: 16 kB / 1.51 GB, free: 4.027 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.7796, allocations: 4 kB / 1.51 GB, free: 4.023 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.7796, allocations: 7.969 kB / 1.51 GB, free: 4.016 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.7819, allocations: 1.304 MB / 1.511 GB, free: 2.68 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.782, allocations: 0 / 1.511 GB, free: 2.68 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002507/0.7845, allocations: 415.3 kB / 1.511 GB, free: 2.273 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004883/0.785, allocations: 76.73 kB / 1.511 GB, free: 2.195 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/0.7851, allocations: 51.92 kB / 1.511 GB, free: 2.145 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.7873, allocations: 1.54 MB / 1.513 GB, free: 0.5 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7873, allocations: 4.031 kB / 1.513 GB, free: 0.4961 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008453/0.7957, allocations: 2.577 MB / 1.515 GB, free: 13.89 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.7968, allocations: 386.6 kB / 1.516 GB, free: 13.52 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000327/0.7972, allocations: 35.88 kB / 1.516 GB, free: 13.48 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002202/0.7994, allocations: 234 kB / 1.516 GB, free: 13.25 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/0.7996, allocations: 105.1 kB / 1.516 GB, free: 13.15 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/0.7998, allocations: 67.94 kB / 1.516 GB, free: 13.09 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008506/0.8006, allocations: 0.5185 MB / 1.517 GB, free: 12.57 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8006, allocations: 0 / 1.517 GB, free: 12.57 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001563/0.8022, allocations: 0.53 MB / 1.517 GB, free: 12.04 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.002386/0.8046, allocations: 0.6792 MB / 1.518 GB, free: 11.56 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.008072/0.8126, allocations: 2.481 MB / 1.52 GB, free: 9.066 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.8127, allocations: 8.062 kB / 1.52 GB, free: 9.059 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004176/0.8168, allocations: 1.341 MB / 1.522 GB, free: 7.707 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.8185, allocations: 329.1 kB / 1.522 GB, free: 7.406 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007586/0.8261, allocations: 3.071 MB / 1.525 GB, free: 4.297 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007712/0.8269, allocations: 0.6062 MB / 1.526 GB, free: 3.652 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001924/0.8288, allocations: 476.9 kB / 1.526 GB, free: 3.184 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007628/0.8295, allocations: 171.3 kB / 1.526 GB, free: 3.016 MB / 1.217 GB Notification: Performance of SimCode: time 6.71e-07/0.8295, allocations: 0 / 1.526 GB, free: 3.016 MB / 1.217 GB Notification: Performance of Templates: time 0.04434/0.8739, allocations: 25.89 MB / 1.551 GB, free: 9.398 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.197359887883067]