Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.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.00224/0.00224, allocations: 101.5 kB / 16.45 MB, free: 6.449 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.00205/0.00205, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.592/1.592, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.368/3.368, allocations: 0.4899 GB / 0.7915 GB, free: 33.41 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.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_12_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_12_Buildings.HeatTransfer.Windows.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.002082/0.002082, allocations: 62.47 kB / 1.149 GB, free: 26.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3847, allocations: 176.1 MB / 1.321 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008529/0.3932, allocations: 6.299 MB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.196/0.5892, allocations: 154.9 MB / 1.479 GB, free: 0.9805 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.5905, allocations: 27.81 kB / 1.479 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007495/0.5912, allocations: 245.7 kB / 1.479 GB, free: 0.7109 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.5933, allocations: 0.7131 MB / 1.48 GB, free: 0 / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002392/0.5957, allocations: 1.016 MB / 1.481 GB, free: 14.99 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002483/0.5981, allocations: 2.08 MB / 1.483 GB, free: 12.9 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.5994, allocations: 0.5871 MB / 1.483 GB, free: 12.28 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.6007, allocations: 0.7671 MB / 1.484 GB, free: 11.51 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.6018, allocations: 0.821 MB / 1.485 GB, free: 10.68 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002634/0.602, allocations: 192 kB / 1.485 GB, free: 10.5 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.6034, allocations: 0.7104 MB / 1.486 GB, free: 9.785 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004517/0.6039, allocations: 482.6 kB / 1.486 GB, free: 9.312 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008346/0.6047, allocations: 0.8631 MB / 1.487 GB, free: 8.445 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003175/0.6079, allocations: 2.53 MB / 1.489 GB, free: 5.906 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6079, allocations: 0 / 1.489 GB, free: 5.906 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.512e-06/0.6079, allocations: 0 / 1.489 GB, free: 5.906 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.711e-05/0.6079, allocations: 0 / 1.489 GB, free: 5.906 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003775/0.6117, allocations: 1.993 MB / 1.491 GB, free: 3.848 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.6117, allocations: 11.98 kB / 1.491 GB, free: 3.836 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.6226, allocations: 1.381 MB / 1.493 GB, free: 2.453 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002393/0.625, allocations: 1.075 MB / 1.494 GB, free: 1.336 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.6251, allocations: 98.67 kB / 1.494 GB, free: 1.238 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002733/0.6254, allocations: 132 kB / 1.494 GB, free: 1.109 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006326/0.6317, allocations: 2.205 MB / 1.496 GB, free: 14.84 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.6317, allocations: 7.875 kB / 1.496 GB, free: 14.84 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.6319, allocations: 56 kB / 1.496 GB, free: 14.78 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/0.632, allocations: 32 kB / 1.496 GB, free: 14.75 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008961/0.6409, allocations: 2.968 MB / 1.499 GB, free: 11.77 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/0.652, allocations: 5.521 MB / 1.505 GB, free: 6.059 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009244/0.6612, allocations: 2.802 MB / 1.507 GB, free: 3.254 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003638/0.6648, allocations: 1.078 MB / 1.508 GB, free: 2.176 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007267/0.6656, allocations: 0.6144 MB / 1.509 GB, free: 1.43 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004321/0.6699, allocations: 1.434 MB / 1.51 GB, free: 15.98 MB / 1.217 GB Notification: Performance of pre-optimization done (n=133): time 5.31e-06/0.6699, allocations: 4 kB / 1.51 GB, free: 15.97 MB / 1.217 GB Notification: Performance of matching and sorting (n=133): time 0.01315/0.683, allocations: 3.641 MB / 1.514 GB, free: 12.3 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.6832, allocations: 193.2 kB / 1.514 GB, free: 12.07 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.6846, allocations: 0.8452 MB / 1.515 GB, free: 11.22 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001675/0.6848, allocations: 53.7 kB / 1.515 GB, free: 11.16 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005698/0.6854, allocations: 0.525 MB / 1.515 GB, free: 10.63 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005147/0.6859, allocations: 460.1 kB / 1.516 GB, free: 10.18 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005885/0.6865, allocations: 266.8 kB / 1.516 GB, free: 9.91 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.6867, allocations: 349.9 kB / 1.517 GB, free: 9.562 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003715/0.6904, allocations: 1.056 MB / 1.518 GB, free: 8.504 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003891/0.6943, allocations: 1.191 MB / 1.519 GB, free: 7.293 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007257/0.7015, allocations: 2.067 MB / 1.521 GB, free: 5.207 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.7015, allocations: 3.938 kB / 1.521 GB, free: 5.203 MB / 1.217 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.009037/0.7106, allocations: 2.488 MB / 1.523 GB, free: 2.703 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.7106, allocations: 4 kB / 1.523 GB, free: 2.699 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.7106, allocations: 0 / 1.523 GB, free: 2.699 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000669/0.7113, allocations: 88.83 kB / 1.523 GB, free: 2.609 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002755/0.714, allocations: 435.3 kB / 1.524 GB, free: 2.184 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002617/0.7166, allocations: 1.654 MB / 1.525 GB, free: 400 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/0.7192, allocations: 286.9 kB / 1.526 GB, free: 112 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/0.7194, allocations: 71.92 kB / 1.526 GB, free: 40 kB / 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,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.0008584/0.7203, allocations: 351.8 kB / 1.526 GB, free: 15.69 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003532/0.7206, allocations: 123.2 kB / 1.526 GB, free: 15.57 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009823/0.7304, allocations: 2.88 MB / 1.529 GB, free: 12.67 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/0.7305, allocations: 19.98 kB / 1.529 GB, free: 12.65 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7305, allocations: 3.938 kB / 1.529 GB, free: 12.65 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/0.7305, allocations: 11.91 kB / 1.529 GB, free: 12.64 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002912/0.7334, allocations: 1.835 MB / 1.531 GB, free: 10.75 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.7334, allocations: 4 kB / 1.531 GB, free: 10.75 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002564/0.736, allocations: 411.4 kB / 1.531 GB, free: 10.34 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005039/0.7365, allocations: 72.78 kB / 1.531 GB, free: 10.27 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001699/0.7366, allocations: 51.94 kB / 1.531 GB, free: 10.22 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002515/0.7392, allocations: 1.67 MB / 1.533 GB, free: 8.406 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7392, allocations: 0 / 1.533 GB, free: 8.406 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008848/0.748, allocations: 2.588 MB / 1.535 GB, free: 5.789 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009576/0.749, allocations: 475.7 kB / 1.536 GB, free: 5.305 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003192/0.7493, allocations: 39.89 kB / 1.536 GB, free: 5.266 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002223/0.7515, allocations: 227.7 kB / 1.536 GB, free: 5.043 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000239/0.7517, allocations: 101.2 kB / 1.536 GB, free: 4.945 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/0.7519, allocations: 67.92 kB / 1.536 GB, free: 4.879 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009939/0.7529, allocations: 0.5966 MB / 1.537 GB, free: 4.289 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7529, allocations: 0 / 1.537 GB, free: 4.289 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00158/0.7545, allocations: 0.5224 MB / 1.537 GB, free: 3.766 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,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.002285/0.7568, allocations: 0.6466 MB / 1.538 GB, free: 3.293 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.008523/0.7653, allocations: 2.477 MB / 1.54 GB, free: 0.8047 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7653, allocations: 0 / 1.54 GB, free: 0.8047 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004314/0.7696, allocations: 1.353 MB / 1.542 GB, free: 15.44 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.7714, allocations: 351.3 kB / 1.542 GB, free: 15.11 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007976/0.7794, allocations: 3.07 MB / 1.545 GB, free: 12.01 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.7804, allocations: 1.199 MB / 1.546 GB, free: 10.78 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001796/0.7822, allocations: 493.6 kB / 1.547 GB, free: 10.3 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007242/0.783, allocations: 175.3 kB / 1.547 GB, free: 10.12 MB / 1.248 GB Notification: Performance of SimCode: time 1.042e-06/0.783, allocations: 0 / 1.547 GB, free: 10.12 MB / 1.248 GB Notification: Performance of Templates: time 0.04914/0.8321, allocations: 25.06 MB / 1.571 GB, free: 1.238 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.728656012099236]