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.001401/0.001401, allocations: 106.7 kB / 16.45 MB, free: 6.453 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.001576/0.001576, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.502/1.502, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.356/3.356, allocations: 0.4899 GB / 0.7915 GB, free: 33.12 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.002051/0.002051, allocations: 68.86 kB / 1.149 GB, free: 26.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.397, allocations: 176.1 MB / 1.321 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.00923/0.4062, allocations: 5.898 MB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1932/0.5994, allocations: 154.7 MB / 1.478 GB, free: 1.578 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.6007, allocations: 23.81 kB / 1.478 GB, free: 1.555 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009024/0.6016, allocations: 225.8 kB / 1.478 GB, free: 1.332 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003022/0.6046, allocations: 0.6789 MB / 1.479 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.6071, allocations: 0.9954 MB / 1.48 GB, free: 15.66 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0028/0.6099, allocations: 1.925 MB / 1.482 GB, free: 13.73 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.6109, allocations: 0.5336 MB / 1.482 GB, free: 13.17 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.612, allocations: 0.7009 MB / 1.483 GB, free: 12.46 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.6131, allocations: 0.7548 MB / 1.484 GB, free: 11.71 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002365/0.6133, allocations: 164 kB / 1.484 GB, free: 11.55 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.6148, allocations: 0.6869 MB / 1.485 GB, free: 10.86 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004677/0.6152, allocations: 446.6 kB / 1.485 GB, free: 10.42 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009643/0.6162, allocations: 0.7813 MB / 1.486 GB, free: 9.637 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002961/0.6191, allocations: 2.269 MB / 1.488 GB, free: 7.359 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.6192, allocations: 0 / 1.488 GB, free: 7.359 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6192, allocations: 0 / 1.488 GB, free: 7.359 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.916e-05/0.6192, allocations: 0 / 1.488 GB, free: 7.359 MB / 1.186 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.003716/0.6229, allocations: 1.899 MB / 1.49 GB, free: 5.395 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.6229, allocations: 11.98 kB / 1.49 GB, free: 5.383 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01134/0.6343, allocations: 1.373 MB / 1.491 GB, free: 4.008 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/0.6365, allocations: 1.001 MB / 1.492 GB, free: 2.965 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.6366, allocations: 86.45 kB / 1.492 GB, free: 2.879 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/0.6368, allocations: 120 kB / 1.492 GB, free: 2.762 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006054/0.6429, allocations: 2.034 MB / 1.494 GB, free: 0.6641 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.6429, allocations: 7.938 kB / 1.494 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001973/0.6431, allocations: 51.98 kB / 1.494 GB, free: 0.6055 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.335e-05/0.6431, allocations: 32 kB / 1.494 GB, free: 0.5742 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008907/0.6521, allocations: 2.76 MB / 1.497 GB, free: 13.8 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01042/0.6625, allocations: 4.814 MB / 1.502 GB, free: 8.824 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00896/0.6714, allocations: 2.652 MB / 1.504 GB, free: 6.145 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003459/0.6749, allocations: 0.9989 MB / 1.505 GB, free: 5.141 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007111/0.6756, allocations: 0.6023 MB / 1.506 GB, free: 4.406 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004014/0.6796, allocations: 1.353 MB / 1.507 GB, free: 3.035 MB / 1.201 GB Notification: Performance of pre-optimization done (n=132): time 2.866e-06/0.6796, allocations: 3.938 kB / 1.507 GB, free: 3.031 MB / 1.201 GB Notification: Performance of matching and sorting (n=132): time 0.01257/0.6922, allocations: 3.391 MB / 1.511 GB, free: 15.61 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001776/0.6924, allocations: 193.2 kB / 1.511 GB, free: 15.38 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.6936, allocations: 0.7981 MB / 1.512 GB, free: 14.57 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001989/0.6938, allocations: 49.7 kB / 1.512 GB, free: 14.52 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004641/0.6943, allocations: 497.7 kB / 1.512 GB, free: 14.02 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000484/0.6947, allocations: 460.1 kB / 1.513 GB, free: 13.57 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005628/0.6953, allocations: 274.7 kB / 1.513 GB, free: 13.3 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.6955, allocations: 357.9 kB / 1.513 GB, free: 12.94 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003478/0.699, allocations: 0.9626 MB / 1.514 GB, free: 11.98 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003697/0.7027, allocations: 1.101 MB / 1.515 GB, free: 10.86 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006894/0.7096, allocations: 1.923 MB / 1.517 GB, free: 8.918 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.7096, allocations: 4 kB / 1.517 GB, free: 8.914 MB / 1.217 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.008523/0.7181, allocations: 2.327 MB / 1.519 GB, free: 6.574 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.7181, allocations: 4 kB / 1.519 GB, free: 6.57 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.7181, allocations: 0 / 1.519 GB, free: 6.57 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006971/0.7188, allocations: 88.83 kB / 1.519 GB, free: 6.48 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002593/0.7214, allocations: 435.3 kB / 1.52 GB, free: 6.055 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/0.7242, allocations: 1.644 MB / 1.521 GB, free: 4.27 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002493/0.7267, allocations: 293.7 kB / 1.522 GB, free: 3.984 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/0.7269, allocations: 67.92 kB / 1.522 GB, free: 3.918 MB / 1.217 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.000867/0.7278, allocations: 331.8 kB / 1.522 GB, free: 3.586 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004269/0.7282, allocations: 123.2 kB / 1.522 GB, free: 3.465 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009356/0.7376, allocations: 2.723 MB / 1.525 GB, free: 0.7227 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/0.7376, allocations: 16 kB / 1.525 GB, free: 0.707 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.7376, allocations: 0 / 1.525 GB, free: 0.707 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.7376, allocations: 7.969 kB / 1.525 GB, free: 0.6992 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/0.7494, allocations: 4.334 MB / 1.529 GB, free: 12.3 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.7494, allocations: 0 / 1.529 GB, free: 12.3 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00247/0.7518, allocations: 411.4 kB / 1.53 GB, free: 11.9 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004985/0.7523, allocations: 76.72 kB / 1.53 GB, free: 11.82 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/0.7525, allocations: 55.94 kB / 1.53 GB, free: 11.77 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.7547, allocations: 1.666 MB / 1.531 GB, free: 9.949 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.7547, allocations: 4.062 kB / 1.531 GB, free: 9.945 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008384/0.7631, allocations: 2.502 MB / 1.534 GB, free: 7.422 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008356/0.7639, allocations: 435.7 kB / 1.534 GB, free: 6.977 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002823/0.7642, allocations: 31.95 kB / 1.534 GB, free: 6.945 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002264/0.7665, allocations: 231.7 kB / 1.534 GB, free: 6.719 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002472/0.7667, allocations: 101.1 kB / 1.535 GB, free: 6.621 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/0.7669, allocations: 71.86 kB / 1.535 GB, free: 6.551 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001001/0.7679, allocations: 0.5693 MB / 1.535 GB, free: 5.988 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.7679, allocations: 0 / 1.535 GB, free: 5.988 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001642/0.7696, allocations: 0.4951 MB / 1.536 GB, free: 5.492 MB / 1.232 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.0023/0.7719, allocations: 0.661 MB / 1.536 GB, free: 5 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.008142/0.78, allocations: 2.293 MB / 1.539 GB, free: 2.691 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.78, allocations: 0 / 1.539 GB, free: 2.691 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004177/0.7842, allocations: 1.271 MB / 1.54 GB, free: 1.41 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.7862, allocations: 336.1 kB / 1.54 GB, free: 1.102 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008362/0.7945, allocations: 2.861 MB / 1.543 GB, free: 14.21 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.7957, allocations: 1.159 MB / 1.544 GB, free: 13.02 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002286/0.798, allocations: 497.3 kB / 1.544 GB, free: 12.53 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008747/0.7989, allocations: 171.3 kB / 1.545 GB, free: 12.36 MB / 1.248 GB Notification: Performance of SimCode: time 1.132e-06/0.7989, allocations: 0 / 1.545 GB, free: 12.36 MB / 1.248 GB Notification: Performance of Templates: time 0.0441/0.843, allocations: 23.83 MB / 1.568 GB, free: 4.703 MB / 1.264 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: 10.349984494037926]