Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.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.0018/0.0018, allocations: 106.2 kB / 18.84 MB, free: 3.047 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.002105/0.002105, allocations: 210.7 kB / 22.13 MB, free: 5.145 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.649/1.649, allocations: 230.5 MB / 255.8 MB, free: 8.254 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.346/3.346, allocations: 0.4898 GB / 0.7946 GB, free: 33.38 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.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.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.002141/0.002141, allocations: 68.45 kB / 1.154 GB, free: 25.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3898, allocations: 176.1 MB / 1.326 GB, free: 1.574 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.008335/0.3982, allocations: 5.251 MB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1922/0.5904, allocations: 133.3 MB / 1.461 GB, free: 6.531 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.5918, allocations: 23.81 kB / 1.461 GB, free: 6.508 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.593, allocations: 229.9 kB / 1.461 GB, free: 6.281 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.596, allocations: 0.6784 MB / 1.462 GB, free: 5.602 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003096/0.5991, allocations: 1.003 MB / 1.463 GB, free: 4.605 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003458/0.6026, allocations: 1.936 MB / 1.465 GB, free: 2.664 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.6039, allocations: 0.5149 MB / 1.465 GB, free: 2.113 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.6054, allocations: 0.7126 MB / 1.466 GB, free: 1.398 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.6069, allocations: 0.7471 MB / 1.467 GB, free: 0.6484 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005731/0.6075, allocations: 168 kB / 1.467 GB, free: 496 kB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.6094, allocations: 0.6675 MB / 1.468 GB, free: 15.82 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007615/0.6102, allocations: 450.6 kB / 1.468 GB, free: 15.38 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001304/0.6115, allocations: 0.6338 MB / 1.469 GB, free: 14.74 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00355/0.615, allocations: 2.281 MB / 1.471 GB, free: 12.45 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.615, allocations: 0 / 1.471 GB, free: 12.45 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.784e-06/0.615, allocations: 0 / 1.471 GB, free: 12.45 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.433e-05/0.6151, allocations: 0 / 1.471 GB, free: 12.45 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003596/0.6187, allocations: 1.822 MB / 1.473 GB, free: 10.58 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.6187, allocations: 11.97 kB / 1.473 GB, free: 10.57 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/0.6292, allocations: 1.373 MB / 1.474 GB, free: 9.191 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002634/0.6319, allocations: 0.9172 MB / 1.475 GB, free: 8.25 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.632, allocations: 94.45 kB / 1.475 GB, free: 8.156 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003312/0.6324, allocations: 116 kB / 1.475 GB, free: 8.043 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006571/0.6389, allocations: 2.296 MB / 1.477 GB, free: 5.621 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.639, allocations: 0 / 1.477 GB, free: 5.621 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002/0.6392, allocations: 55.98 kB / 1.477 GB, free: 5.566 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.71e-05/0.6392, allocations: 32 kB / 1.477 GB, free: 5.535 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008068/0.6473, allocations: 2.756 MB / 1.48 GB, free: 2.77 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01019/0.6575, allocations: 3.987 MB / 1.484 GB, free: 14.7 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00794/0.6654, allocations: 2.579 MB / 1.486 GB, free: 12.12 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003156/0.6686, allocations: 0.9911 MB / 1.487 GB, free: 11.12 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003844/0.669, allocations: 76.92 kB / 1.488 GB, free: 11.05 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0041/0.6731, allocations: 1.46 MB / 1.489 GB, free: 9.543 MB / 1.186 GB Notification: Performance of pre-optimization done (n=132): time 7.494e-06/0.6731, allocations: 3.938 kB / 1.489 GB, free: 9.539 MB / 1.186 GB Notification: Performance of matching and sorting (n=132): time 0.01215/0.6852, allocations: 3.316 MB / 1.492 GB, free: 6.215 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001635/0.6854, allocations: 197.2 kB / 1.492 GB, free: 5.977 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.6868, allocations: 0.798 MB / 1.493 GB, free: 5.168 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002332/0.687, allocations: 53.7 kB / 1.493 GB, free: 5.109 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005652/0.6876, allocations: 497.8 kB / 1.494 GB, free: 4.621 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005967/0.6882, allocations: 456.1 kB / 1.494 GB, free: 4.172 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005775/0.6888, allocations: 278.7 kB / 1.494 GB, free: 3.895 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002133/0.689, allocations: 353.9 kB / 1.495 GB, free: 3.543 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003097/0.6921, allocations: 0.9626 MB / 1.496 GB, free: 2.578 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003414/0.6955, allocations: 1.252 MB / 1.497 GB, free: 1.27 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006238/0.7017, allocations: 1.923 MB / 1.499 GB, free: 15.33 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.7017, allocations: 0 / 1.499 GB, free: 15.33 MB / 1.201 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.0079/0.7096, allocations: 2.327 MB / 1.501 GB, free: 12.99 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.7097, allocations: 10.19 kB / 1.501 GB, free: 12.98 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.7097, allocations: 0 / 1.501 GB, free: 12.98 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006912/0.7104, allocations: 92.77 kB / 1.501 GB, free: 12.89 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002606/0.713, allocations: 427.3 kB / 1.502 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/0.7155, allocations: 1.535 MB / 1.503 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002481/0.718, allocations: 290.9 kB / 1.503 GB, free: 10.53 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/0.7182, allocations: 63.94 kB / 1.503 GB, free: 10.47 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,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,incAng.decAng.tNext,$PRE.incAng.decAng.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 (150): * Single equations (assignments): 149 * 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.0007852/0.719, allocations: 335.8 kB / 1.504 GB, free: 10.13 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003519/0.7194, allocations: 119.2 kB / 1.504 GB, free: 10.02 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008326/0.7277, allocations: 2.723 MB / 1.506 GB, free: 7.277 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.7277, allocations: 12 kB / 1.506 GB, free: 7.266 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.7277, allocations: 4 kB / 1.506 GB, free: 7.262 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.062e-05/0.7277, allocations: 7.969 kB / 1.507 GB, free: 7.254 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.7384, allocations: 4.017 MB / 1.51 GB, free: 3.18 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.7384, allocations: 0 / 1.51 GB, free: 3.18 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002403/0.7408, allocations: 423.3 kB / 1.511 GB, free: 2.766 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004648/0.7413, allocations: 64.8 kB / 1.511 GB, free: 2.699 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/0.7415, allocations: 55.92 kB / 1.511 GB, free: 2.645 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/0.7437, allocations: 1.57 MB / 1.512 GB, free: 0.9531 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7437, allocations: 0 / 1.512 GB, free: 0.9531 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008031/0.7518, allocations: 2.498 MB / 1.515 GB, free: 14.43 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.7529, allocations: 354.8 kB / 1.515 GB, free: 14.09 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/0.7531, allocations: 31.98 kB / 1.515 GB, free: 14.05 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/0.7553, allocations: 227.7 kB / 1.516 GB, free: 13.83 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/0.7555, allocations: 109.1 kB / 1.516 GB, free: 13.73 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/0.7557, allocations: 63.88 kB / 1.516 GB, free: 13.66 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009167/0.7566, allocations: 0.5732 MB / 1.516 GB, free: 13.09 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.7566, allocations: 0 / 1.516 GB, free: 13.09 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001528/0.7581, allocations: 0.5067 MB / 1.517 GB, free: 12.59 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 140 * 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.002323/0.7604, allocations: 0.6834 MB / 1.517 GB, free: 12.1 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007572/0.768, allocations: 2.297 MB / 1.52 GB, free: 9.789 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.768, allocations: 0 / 1.52 GB, free: 9.789 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003881/0.7719, allocations: 1.263 MB / 1.521 GB, free: 8.516 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.7736, allocations: 349.5 kB / 1.521 GB, free: 8.195 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006887/0.7805, allocations: 2.859 MB / 1.524 GB, free: 5.305 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007892/0.7813, allocations: 0.5719 MB / 1.525 GB, free: 4.699 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001926/0.7832, allocations: 485.3 kB / 1.525 GB, free: 4.223 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006538/0.7839, allocations: 171.3 kB / 1.525 GB, free: 4.055 MB / 1.217 GB Notification: Performance of SimCode: time 1.352e-06/0.7839, allocations: 0 / 1.525 GB, free: 4.055 MB / 1.217 GB Notification: Performance of Templates: time 0.04681/0.8307, allocations: 25.25 MB / 1.55 GB, free: 11.14 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.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.073685932904482]