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.001726/0.001726, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001909/0.001909, allocations: 209.5 kB / 22.99 MB, free: 4.957 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.145/3.145, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] 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.00201/0.00201, allocations: 80.77 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3071, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007762/0.3149, allocations: 5.264 MB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1711/0.4859, allocations: 133.3 MB / 1.462 GB, free: 5.836 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008786/0.4868, allocations: 23.81 kB / 1.462 GB, free: 5.812 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006115/0.4874, allocations: 233.8 kB / 1.463 GB, free: 5.582 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.4892, allocations: 0.6756 MB / 1.463 GB, free: 4.906 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.4913, allocations: 0.9861 MB / 1.464 GB, free: 3.926 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001833/0.4931, allocations: 1.936 MB / 1.466 GB, free: 1.984 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000815/0.4939, allocations: 0.5187 MB / 1.467 GB, free: 1.426 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008002/0.4947, allocations: 0.7087 MB / 1.467 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008409/0.4956, allocations: 0.7549 MB / 1.468 GB, free: 15.96 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002187/0.4958, allocations: 168 kB / 1.468 GB, free: 15.79 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.4969, allocations: 0.6636 MB / 1.469 GB, free: 15.13 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004021/0.4973, allocations: 450.6 kB / 1.469 GB, free: 14.69 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006145/0.4979, allocations: 0.6377 MB / 1.47 GB, free: 14.05 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00244/0.5004, allocations: 2.281 MB / 1.472 GB, free: 11.76 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5004, allocations: 0 / 1.472 GB, free: 11.76 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5004, allocations: 0 / 1.472 GB, free: 11.76 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.714e-05/0.5004, allocations: 4 kB / 1.472 GB, free: 11.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.003435/0.5038, allocations: 1.822 MB / 1.474 GB, free: 9.883 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.5038, allocations: 8.031 kB / 1.474 GB, free: 9.875 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01062/0.5145, allocations: 1.373 MB / 1.475 GB, free: 8.5 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.5162, allocations: 0.9288 MB / 1.476 GB, free: 7.547 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.052e-05/0.5163, allocations: 90.45 kB / 1.476 GB, free: 7.457 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/0.5165, allocations: 116 kB / 1.476 GB, free: 7.344 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005263/0.5218, allocations: 2.296 MB / 1.479 GB, free: 4.922 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.5218, allocations: 0 / 1.479 GB, free: 4.922 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/0.522, allocations: 52 kB / 1.479 GB, free: 4.871 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.522, allocations: 32 kB / 1.479 GB, free: 4.84 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007644/0.5297, allocations: 2.706 MB / 1.481 GB, free: 2.125 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009092/0.5388, allocations: 3.812 MB / 1.485 GB, free: 14.25 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007712/0.5465, allocations: 2.575 MB / 1.488 GB, free: 11.67 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002988/0.5495, allocations: 0.9989 MB / 1.489 GB, free: 10.66 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00034/0.5498, allocations: 76.92 kB / 1.489 GB, free: 10.59 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0037/0.5535, allocations: 1.457 MB / 1.49 GB, free: 9.09 MB / 1.186 GB Notification: Performance of pre-optimization done (n=132): time 3.527e-06/0.5535, allocations: 4 kB / 1.49 GB, free: 9.086 MB / 1.186 GB Notification: Performance of matching and sorting (n=132): time 0.01113/0.5646, allocations: 3.297 MB / 1.493 GB, free: 5.781 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.5648, allocations: 197.2 kB / 1.494 GB, free: 5.543 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.5658, allocations: 0.6997 MB / 1.494 GB, free: 4.832 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.566, allocations: 53.7 kB / 1.494 GB, free: 4.773 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004919/0.5665, allocations: 0.4938 MB / 1.495 GB, free: 4.273 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004912/0.567, allocations: 452.2 kB / 1.495 GB, free: 3.828 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005511/0.5675, allocations: 274.7 kB / 1.495 GB, free: 3.555 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002288/0.5678, allocations: 402.7 kB / 1.496 GB, free: 3.152 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003058/0.5708, allocations: 0.9626 MB / 1.497 GB, free: 2.188 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003277/0.5741, allocations: 1.252 MB / 1.498 GB, free: 0.8828 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006008/0.5801, allocations: 1.923 MB / 1.5 GB, free: 14.94 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.5801, allocations: 0 / 1.5 GB, free: 14.94 MB / 1.201 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007542/0.5876, allocations: 2.324 MB / 1.502 GB, free: 12.61 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.5877, allocations: 7.938 kB / 1.502 GB, free: 12.6 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.5877, allocations: 0 / 1.502 GB, free: 12.6 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006827/0.5884, allocations: 88.83 kB / 1.502 GB, free: 12.51 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002607/0.591, allocations: 423.3 kB / 1.503 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002327/0.5933, allocations: 1.524 MB / 1.504 GB, free: 10.46 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/0.5956, allocations: 275.1 kB / 1.504 GB, free: 10.19 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.5958, allocations: 63.92 kB / 1.504 GB, free: 10.13 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.000753/0.5965, allocations: 343.4 kB / 1.505 GB, free: 9.785 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003079/0.5968, allocations: 111.3 kB / 1.505 GB, free: 9.676 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008344/0.6052, allocations: 2.711 MB / 1.508 GB, free: 6.945 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.6052, allocations: 19.94 kB / 1.508 GB, free: 6.926 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6052, allocations: 0 / 1.508 GB, free: 6.926 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/0.6052, allocations: 11.97 kB / 1.508 GB, free: 6.914 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/0.6156, allocations: 3.877 MB / 1.511 GB, free: 2.996 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.6156, allocations: 3.938 kB / 1.511 GB, free: 2.992 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002458/0.618, allocations: 411.3 kB / 1.512 GB, free: 2.59 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004797/0.6185, allocations: 76.78 kB / 1.512 GB, free: 2.512 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/0.6187, allocations: 51.94 kB / 1.512 GB, free: 2.461 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/0.6208, allocations: 1.536 MB / 1.513 GB, free: 0.8164 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6208, allocations: 0 / 1.513 GB, free: 0.8164 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007956/0.6288, allocations: 2.494 MB / 1.516 GB, free: 14.3 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.6298, allocations: 346.7 kB / 1.516 GB, free: 13.96 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.63, allocations: 31.94 kB / 1.516 GB, free: 13.93 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002231/0.6323, allocations: 221.5 kB / 1.516 GB, free: 13.71 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/0.6325, allocations: 109.2 kB / 1.516 GB, free: 13.61 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/0.6326, allocations: 67.94 kB / 1.517 GB, free: 13.54 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007584/0.6334, allocations: 0.4951 MB / 1.517 GB, free: 13.05 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6334, allocations: 0 / 1.517 GB, free: 13.05 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001447/0.6349, allocations: 0.5106 MB / 1.518 GB, free: 12.54 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.002316/0.6372, allocations: 0.6865 MB / 1.518 GB, free: 12.05 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007255/0.6444, allocations: 2.293 MB / 1.52 GB, free: 9.75 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6444, allocations: 12.06 kB / 1.52 GB, free: 9.738 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003724/0.6482, allocations: 1.259 MB / 1.522 GB, free: 8.465 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.6497, allocations: 329.1 kB / 1.522 GB, free: 8.168 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006431/0.6561, allocations: 2.856 MB / 1.525 GB, free: 5.281 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006267/0.6568, allocations: 0.5677 MB / 1.525 GB, free: 4.68 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001619/0.6584, allocations: 480.6 kB / 1.526 GB, free: 4.207 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006598/0.659, allocations: 163.3 kB / 1.526 GB, free: 4.047 MB / 1.217 GB Notification: Performance of SimCode: time 7.21e-07/0.659, allocations: 0 / 1.526 GB, free: 4.047 MB / 1.217 GB Notification: Performance of Templates: time 0.04041/0.6994, allocations: 25.1 MB / 1.55 GB, free: 11.19 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 -s gbode -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/jenkins1/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: 9.908904165000422]