Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001504/0.001504, allocations: 115.5 kB / 17.08 MB, free: 5.82 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.001698/0.001698, allocations: 193.1 kB / 20.02 MB, free: 2.93 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.409/1.409, allocations: 222.9 MB / 245.7 MB, free: 4.348 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.957/2.957, allocations: 489.2 MB / 0.7687 GB, free: 3.754 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.HeatTransfer.Windows.Examples.SideFins") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 63.89 kB / 1.103 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9468/0.9487, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007829/0.9566, allocations: 6.238 MB / 1.269 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1951/1.152, allocations: 151.6 MB / 1.417 GB, free: 3 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/1.153, allocations: 18.69 kB / 1.417 GB, free: 2.996 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007138/1.154, allocations: 228.6 kB / 1.417 GB, free: 2.793 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002486/1.157, allocations: 0.7001 MB / 1.418 GB, free: 2.25 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002549/1.159, allocations: 0.9933 MB / 1.419 GB, free: 1.492 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002507/1.162, allocations: 2.061 MB / 1.421 GB, free: 220 kB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/1.163, allocations: 0.8551 MB / 1.421 GB, free: 15.7 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/1.164, allocations: 0.7374 MB / 1.422 GB, free: 15.25 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/1.165, allocations: 0.7958 MB / 1.423 GB, free: 14.69 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002666/1.165, allocations: 191.3 kB / 1.423 GB, free: 14.69 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/1.167, allocations: 0.6717 MB / 1.424 GB, free: 14.44 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004467/1.167, allocations: 483.3 kB / 1.424 GB, free: 14.06 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008854/1.168, allocations: 0.8509 MB / 1.425 GB, free: 13.44 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003047/1.171, allocations: 2.48 MB / 1.427 GB, free: 11.64 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.171, allocations: 0 / 1.427 GB, free: 11.64 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.934e-06/1.171, allocations: 1.531 kB / 1.427 GB, free: 11.64 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.633e-05/1.171, allocations: 0 / 1.427 GB, free: 11.64 MB / 1.123 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.003607/1.175, allocations: 1.96 MB / 1.429 GB, free: 10.14 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/1.175, allocations: 9.062 kB / 1.429 GB, free: 10.14 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009312/1.184, allocations: 1.298 MB / 1.431 GB, free: 9.512 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/1.186, allocations: 1.064 MB / 1.432 GB, free: 8.664 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.166e-05/1.186, allocations: 101.5 kB / 1.432 GB, free: 8.617 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/1.187, allocations: 130.4 kB / 1.432 GB, free: 8.574 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005591/1.192, allocations: 2.21 MB / 1.434 GB, free: 7.227 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/1.192, allocations: 1.156 kB / 1.434 GB, free: 7.227 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/1.192, allocations: 57.16 kB / 1.434 GB, free: 7.184 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/1.192, allocations: 32.09 kB / 1.434 GB, free: 7.184 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008464/1.201, allocations: 2.975 MB / 1.437 GB, free: 5.273 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/1.211, allocations: 5.517 MB / 1.442 GB, free: 15.56 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008824/1.22, allocations: 2.872 MB / 1.445 GB, free: 12.68 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003455/1.223, allocations: 1.125 MB / 1.446 GB, free: 11.56 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006209/1.224, allocations: 0.6144 MB / 1.447 GB, free: 10.81 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003947/1.228, allocations: 1.446 MB / 1.448 GB, free: 9.348 MB / 1.139 GB Notification: Performance of pre-optimization done (n=133): time 2.585e-06/1.228, allocations: 0 / 1.448 GB, free: 9.348 MB / 1.139 GB Notification: Performance of matching and sorting (n=133): time 0.0122/1.24, allocations: 3.637 MB / 1.452 GB, free: 5.684 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/1.24, allocations: 201.2 kB / 1.452 GB, free: 5.441 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/1.241, allocations: 0.8177 MB / 1.453 GB, free: 4.613 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/1.242, allocations: 49.7 kB / 1.453 GB, free: 4.559 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004621/1.242, allocations: 0.5133 MB / 1.453 GB, free: 4.039 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004322/1.242, allocations: 464.1 kB / 1.454 GB, free: 3.582 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005285/1.243, allocations: 270.7 kB / 1.454 GB, free: 3.312 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.243, allocations: 353.9 kB / 1.454 GB, free: 2.961 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003423/1.247, allocations: 1.056 MB / 1.456 GB, free: 1.902 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003594/1.25, allocations: 1.187 MB / 1.457 GB, free: 0.6953 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006771/1.257, allocations: 2.067 MB / 1.459 GB, free: 14.61 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/1.257, allocations: 3.938 kB / 1.459 GB, free: 14.6 MB / 1.154 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.008131/1.265, allocations: 2.488 MB / 1.461 GB, free: 12.1 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.265, allocations: 4 kB / 1.461 GB, free: 12.1 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.265, allocations: 0 / 1.461 GB, free: 12.1 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/1.266, allocations: 88.83 kB / 1.461 GB, free: 12.01 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/1.268, allocations: 435.3 kB / 1.462 GB, free: 11.58 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/1.27, allocations: 1.64 MB / 1.463 GB, free: 9.801 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/1.273, allocations: 298.9 kB / 1.464 GB, free: 9.508 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/1.273, allocations: 68 kB / 1.464 GB, free: 9.441 MB / 1.154 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.0006981/1.274, allocations: 355.8 kB / 1.464 GB, free: 9.086 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002924/1.274, allocations: 123.2 kB / 1.464 GB, free: 8.965 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008887/1.283, allocations: 2.876 MB / 1.467 GB, free: 6.074 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/1.283, allocations: 20 kB / 1.467 GB, free: 6.055 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/1.283, allocations: 3.984 kB / 1.467 GB, free: 6.051 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/1.283, allocations: 3.984 kB / 1.467 GB, free: 6.047 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/1.285, allocations: 1.816 MB / 1.469 GB, free: 4.184 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.285, allocations: 3.938 kB / 1.469 GB, free: 4.18 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002419/1.288, allocations: 407.4 kB / 1.469 GB, free: 3.781 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004789/1.288, allocations: 76.78 kB / 1.469 GB, free: 3.703 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/1.288, allocations: 47.94 kB / 1.469 GB, free: 3.656 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/1.291, allocations: 1.689 MB / 1.471 GB, free: 1.82 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.291, allocations: 0 / 1.471 GB, free: 1.82 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008347/1.299, allocations: 2.581 MB / 1.473 GB, free: 15.21 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008321/1.3, allocations: 475.7 kB / 1.474 GB, free: 14.73 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/1.3, allocations: 28 kB / 1.474 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/1.302, allocations: 227.7 kB / 1.474 GB, free: 14.48 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/1.302, allocations: 109.1 kB / 1.474 GB, free: 14.37 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/1.302, allocations: 59.94 kB / 1.474 GB, free: 14.31 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008329/1.303, allocations: 0.5849 MB / 1.475 GB, free: 13.73 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.51e-07/1.303, allocations: 0 / 1.475 GB, free: 13.73 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001395/1.305, allocations: 0.5145 MB / 1.475 GB, free: 13.22 MB / 1.17 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.002043/1.307, allocations: 0.6297 MB / 1.476 GB, free: 12.77 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007902/1.315, allocations: 2.535 MB / 1.478 GB, free: 10.23 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.315, allocations: 3.938 kB / 1.478 GB, free: 10.22 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.004094/1.319, allocations: 1.396 MB / 1.48 GB, free: 8.812 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/1.32, allocations: 361.5 kB / 1.48 GB, free: 8.477 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006851/1.327, allocations: 3.099 MB / 1.483 GB, free: 5.344 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008727/1.328, allocations: 1.197 MB / 1.484 GB, free: 4.117 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009241/1.329, allocations: 207.2 kB / 1.484 GB, free: 3.914 MB / 1.17 GB Notification: Performance of SimCode: time 7.01e-07/1.329, allocations: 0 / 1.484 GB, free: 3.914 MB / 1.17 GB Notification: Performance of Templates: time 0.04265/1.372, allocations: 30.86 MB / 1.515 GB, free: 5.121 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.453972846036777]