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.0015/0.0015, allocations: 103.6 kB / 18.95 MB, free: 2.547 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.001674/0.001674, allocations: 220.4 kB / 22.24 MB, free: 4.863 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.805 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.403/3.403, allocations: 0.4892 GB / 0.7943 GB, free: 35.45 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.002945/0.002945, allocations: 68.86 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4316, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.008917/0.4405, allocations: 5.269 MB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1837/0.6243, allocations: 133.3 MB / 1.461 GB, free: 6.711 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.6254, allocations: 23.81 kB / 1.461 GB, free: 6.688 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009426/0.6263, allocations: 229.9 kB / 1.461 GB, free: 6.461 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002601/0.6289, allocations: 0.6677 MB / 1.462 GB, free: 5.793 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002837/0.6317, allocations: 1.005 MB / 1.463 GB, free: 4.797 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00288/0.6346, allocations: 1.932 MB / 1.465 GB, free: 2.859 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.636, allocations: 0.4914 MB / 1.465 GB, free: 2.328 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.6374, allocations: 0.7087 MB / 1.466 GB, free: 1.617 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.6389, allocations: 0.6767 MB / 1.466 GB, free: 0.9375 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0007313/0.6397, allocations: 164 kB / 1.467 GB, free: 0.7773 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002365/0.642, allocations: 0.6519 MB / 1.467 GB, free: 128 kB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0008817/0.6429, allocations: 458.6 kB / 1.468 GB, free: 15.67 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.6444, allocations: 0.6299 MB / 1.468 GB, free: 15.04 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004105/0.6485, allocations: 2.284 MB / 1.471 GB, free: 12.75 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.6485, allocations: 0 / 1.471 GB, free: 12.75 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.444e-06/0.6485, allocations: 0 / 1.471 GB, free: 12.75 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.288e-05/0.6486, allocations: 4 kB / 1.471 GB, free: 12.75 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.004914/0.6535, allocations: 1.811 MB / 1.472 GB, free: 10.89 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.6535, allocations: 16.03 kB / 1.472 GB, free: 10.87 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/0.6642, allocations: 1.373 MB / 1.474 GB, free: 9.496 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/0.6667, allocations: 0.9211 MB / 1.475 GB, free: 8.551 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.6669, allocations: 98.45 kB / 1.475 GB, free: 8.453 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004215/0.6673, allocations: 116 kB / 1.475 GB, free: 8.34 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00629/0.6736, allocations: 2.292 MB / 1.477 GB, free: 5.922 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.6736, allocations: 4 kB / 1.477 GB, free: 5.918 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/0.6738, allocations: 52 kB / 1.477 GB, free: 5.867 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.91e-05/0.6738, allocations: 28 kB / 1.477 GB, free: 5.84 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008706/0.6825, allocations: 2.71 MB / 1.48 GB, free: 3.121 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/0.693, allocations: 3.812 MB / 1.483 GB, free: 15.24 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009016/0.702, allocations: 2.579 MB / 1.486 GB, free: 12.66 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003527/0.7056, allocations: 0.9989 MB / 1.487 GB, free: 11.66 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003908/0.706, allocations: 76.92 kB / 1.487 GB, free: 11.58 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004286/0.7102, allocations: 1.457 MB / 1.488 GB, free: 10.08 MB / 1.186 GB Notification: Performance of pre-optimization done (n=132): time 4.338e-06/0.7103, allocations: 0 / 1.488 GB, free: 10.08 MB / 1.186 GB Notification: Performance of matching and sorting (n=132): time 0.01259/0.7228, allocations: 3.304 MB / 1.492 GB, free: 6.77 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/0.723, allocations: 205.2 kB / 1.492 GB, free: 6.523 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.7245, allocations: 0.692 MB / 1.493 GB, free: 5.82 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001741/0.7247, allocations: 49.7 kB / 1.493 GB, free: 5.766 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005765/0.7253, allocations: 0.4939 MB / 1.493 GB, free: 5.266 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005671/0.7259, allocations: 460.1 kB / 1.494 GB, free: 4.812 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005709/0.7264, allocations: 266.7 kB / 1.494 GB, free: 4.547 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002511/0.7267, allocations: 406.7 kB / 1.494 GB, free: 4.141 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003414/0.7301, allocations: 0.9626 MB / 1.495 GB, free: 3.176 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003709/0.7338, allocations: 1.248 MB / 1.496 GB, free: 1.875 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006669/0.7405, allocations: 1.923 MB / 1.498 GB, free: 15.93 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.7405, allocations: 0 / 1.498 GB, free: 15.93 MB / 1.201 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.008297/0.7488, allocations: 2.327 MB / 1.5 GB, free: 13.59 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.7488, allocations: 4 kB / 1.5 GB, free: 13.59 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.7488, allocations: 7.938 kB / 1.501 GB, free: 13.58 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006596/0.7495, allocations: 84.83 kB / 1.501 GB, free: 13.5 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002604/0.7521, allocations: 431.3 kB / 1.501 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/0.7545, allocations: 1.513 MB / 1.502 GB, free: 11.45 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/0.7569, allocations: 279.1 kB / 1.503 GB, free: 11.18 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002109/0.7571, allocations: 63.92 kB / 1.503 GB, free: 11.12 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.0008445/0.758, allocations: 343.4 kB / 1.503 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003988/0.7584, allocations: 111.3 kB / 1.503 GB, free: 10.66 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009124/0.7675, allocations: 2.711 MB / 1.506 GB, free: 7.934 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.7675, allocations: 12 kB / 1.506 GB, free: 7.922 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.7675, allocations: 8 kB / 1.506 GB, free: 7.914 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.7675, allocations: 7.969 kB / 1.506 GB, free: 7.906 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/0.779, allocations: 3.873 MB / 1.51 GB, free: 3.992 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.986e-06/0.779, allocations: 0 / 1.51 GB, free: 3.992 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002475/0.7814, allocations: 415.3 kB / 1.51 GB, free: 3.586 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000491/0.7819, allocations: 76.78 kB / 1.51 GB, free: 3.508 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001761/0.7821, allocations: 51.88 kB / 1.51 GB, free: 3.457 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002239/0.7844, allocations: 1.54 MB / 1.512 GB, free: 1.809 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7844, allocations: 0 / 1.512 GB, free: 1.809 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008554/0.7929, allocations: 2.498 MB / 1.514 GB, free: 15.29 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.794, allocations: 346.6 kB / 1.514 GB, free: 14.95 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003676/0.7944, allocations: 28 kB / 1.515 GB, free: 14.92 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002314/0.7967, allocations: 230.6 kB / 1.515 GB, free: 14.7 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002994/0.797, allocations: 109.1 kB / 1.515 GB, free: 14.59 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001837/0.7972, allocations: 63.94 kB / 1.515 GB, free: 14.53 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001044/0.7982, allocations: 0.4951 MB / 1.515 GB, free: 14.04 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7982, allocations: 0 / 1.515 GB, free: 14.04 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002298/0.8005, allocations: 0.5106 MB / 1.516 GB, free: 13.53 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.002967/0.8035, allocations: 0.6926 MB / 1.517 GB, free: 13.03 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.008508/0.812, allocations: 2.293 MB / 1.519 GB, free: 10.73 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.812, allocations: 0 / 1.519 GB, free: 10.73 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004513/0.8165, allocations: 1.267 MB / 1.52 GB, free: 9.445 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.8188, allocations: 328.8 kB / 1.52 GB, free: 9.148 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00818/0.8269, allocations: 2.852 MB / 1.523 GB, free: 6.266 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009101/0.8278, allocations: 0.5677 MB / 1.524 GB, free: 5.664 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002217/0.8301, allocations: 480.6 kB / 1.524 GB, free: 5.191 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008233/0.8309, allocations: 167.3 kB / 1.524 GB, free: 5.027 MB / 1.217 GB Notification: Performance of SimCode: time 1.213e-06/0.8309, allocations: 4 kB / 1.524 GB, free: 5.023 MB / 1.217 GB Notification: Performance of Templates: time 0.04508/0.876, allocations: 24.72 MB / 1.548 GB, free: 12.56 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.104938706383109]