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.001789/0.001789, 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.002239/0.002239, allocations: 212.4 kB / 23 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.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.281/3.281, allocations: 0.49 GB / 0.7959 GB, free: 35.64 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.002103/0.002103, allocations: 70.88 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3992, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.009738/0.4089, allocations: 5.618 MB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1923/0.6012, allocations: 133.6 MB / 1.463 GB, free: 5.289 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.6025, allocations: 27.75 kB / 1.463 GB, free: 5.262 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007889/0.6033, allocations: 237.8 kB / 1.463 GB, free: 5.027 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002423/0.6057, allocations: 0.7249 MB / 1.464 GB, free: 4.301 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002572/0.6083, allocations: 1.028 MB / 1.465 GB, free: 3.281 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002552/0.6108, allocations: 2.087 MB / 1.467 GB, free: 1.188 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.6119, allocations: 0.5762 MB / 1.468 GB, free: 0.5703 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.6132, allocations: 0.771 MB / 1.468 GB, free: 15.8 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.6142, allocations: 0.8093 MB / 1.469 GB, free: 14.98 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002742/0.6145, allocations: 196 kB / 1.469 GB, free: 14.79 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.6159, allocations: 0.6948 MB / 1.47 GB, free: 14.1 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004905/0.6164, allocations: 494.5 kB / 1.47 GB, free: 13.61 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008075/0.6172, allocations: 0.6961 MB / 1.471 GB, free: 12.91 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003448/0.6206, allocations: 2.549 MB / 1.474 GB, free: 10.36 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6206, allocations: 0 / 1.474 GB, free: 10.36 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6206, allocations: 0 / 1.474 GB, free: 10.36 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.512e-05/0.6207, allocations: 4 kB / 1.474 GB, free: 10.35 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.00419/0.6249, allocations: 1.906 MB / 1.475 GB, free: 8.398 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.6249, allocations: 12.03 kB / 1.475 GB, free: 8.387 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/0.6361, allocations: 1.377 MB / 1.477 GB, free: 7.008 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/0.6389, allocations: 1.007 MB / 1.478 GB, free: 5.973 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.639, allocations: 94.67 kB / 1.478 GB, free: 5.879 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002816/0.6393, allocations: 132 kB / 1.478 GB, free: 5.75 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006257/0.6456, allocations: 2.464 MB / 1.48 GB, free: 3.164 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.6456, allocations: 0 / 1.48 GB, free: 3.164 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.6458, allocations: 56 kB / 1.48 GB, free: 3.109 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.734e-05/0.6458, allocations: 36 kB / 1.48 GB, free: 3.074 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008502/0.6543, allocations: 2.917 MB / 1.483 GB, free: 152 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.6652, allocations: 4.305 MB / 1.488 GB, free: 11.78 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008561/0.6738, allocations: 2.793 MB / 1.49 GB, free: 8.98 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003411/0.6772, allocations: 1.078 MB / 1.491 GB, free: 7.902 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003843/0.6776, allocations: 77.23 kB / 1.491 GB, free: 7.824 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004124/0.6817, allocations: 1.546 MB / 1.493 GB, free: 6.234 MB / 1.186 GB Notification: Performance of pre-optimization done (n=133): time 4.549e-06/0.6817, allocations: 0 / 1.493 GB, free: 6.234 MB / 1.186 GB Notification: Performance of matching and sorting (n=133): time 0.01232/0.694, allocations: 3.554 MB / 1.496 GB, free: 2.672 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/0.6942, allocations: 197.2 kB / 1.497 GB, free: 2.434 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.6954, allocations: 0.7195 MB / 1.497 GB, free: 1.703 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002188/0.6956, allocations: 53.7 kB / 1.497 GB, free: 1.645 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000522/0.6961, allocations: 0.5327 MB / 1.498 GB, free: 1.102 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005569/0.6967, allocations: 460.1 kB / 1.498 GB, free: 0.6484 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005823/0.6973, allocations: 274.7 kB / 1.499 GB, free: 384 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002577/0.6975, allocations: 410.7 kB / 1.499 GB, free: 15.96 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003391/0.7009, allocations: 1.056 MB / 1.5 GB, free: 14.91 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00358/0.7045, allocations: 1.338 MB / 1.501 GB, free: 13.51 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006719/0.7112, allocations: 2.067 MB / 1.503 GB, free: 11.43 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.7112, allocations: 0 / 1.503 GB, free: 11.43 MB / 1.201 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.008321/0.7196, allocations: 2.484 MB / 1.506 GB, free: 8.934 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.7196, allocations: 4 kB / 1.506 GB, free: 8.93 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.7196, allocations: 4.062 kB / 1.506 GB, free: 8.926 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007154/0.7203, allocations: 84.77 kB / 1.506 GB, free: 8.84 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002735/0.723, allocations: 435.3 kB / 1.506 GB, free: 8.414 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/0.7255, allocations: 1.52 MB / 1.508 GB, free: 6.785 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/0.7281, allocations: 269.1 kB / 1.508 GB, free: 6.523 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002394/0.7284, allocations: 71.92 kB / 1.508 GB, free: 6.453 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,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.0009185/0.7293, allocations: 351.5 kB / 1.508 GB, free: 6.102 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003689/0.7297, allocations: 111.3 kB / 1.508 GB, free: 5.992 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008972/0.7386, allocations: 2.883 MB / 1.511 GB, free: 3.094 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/0.7387, allocations: 16 kB / 1.511 GB, free: 3.078 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.7387, allocations: 0 / 1.511 GB, free: 3.078 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.7387, allocations: 3.984 kB / 1.511 GB, free: 3.074 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/0.7411, allocations: 1.301 MB / 1.513 GB, free: 1.742 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.7411, allocations: 0 / 1.513 GB, free: 1.742 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0025/0.7436, allocations: 415.4 kB / 1.513 GB, free: 1.336 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005358/0.7441, allocations: 76.72 kB / 1.513 GB, free: 1.258 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001813/0.7443, allocations: 51.94 kB / 1.513 GB, free: 1.207 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002272/0.7466, allocations: 1.555 MB / 1.515 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7466, allocations: 0 / 1.515 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008357/0.7549, allocations: 2.573 MB / 1.517 GB, free: 12.95 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.7561, allocations: 386.6 kB / 1.517 GB, free: 12.57 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/0.7564, allocations: 31.95 kB / 1.518 GB, free: 12.54 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/0.7585, allocations: 227.7 kB / 1.518 GB, free: 12.32 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002408/0.7588, allocations: 113.1 kB / 1.518 GB, free: 12.21 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/0.759, allocations: 59.94 kB / 1.518 GB, free: 12.15 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008552/0.7598, allocations: 0.5185 MB / 1.518 GB, free: 11.63 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.7598, allocations: 0 / 1.518 GB, free: 11.63 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001869/0.7617, allocations: 0.5339 MB / 1.519 GB, free: 11.1 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,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.002464/0.7641, allocations: 0.6901 MB / 1.52 GB, free: 10.61 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.008248/0.7724, allocations: 2.477 MB / 1.522 GB, free: 8.121 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.7724, allocations: 0 / 1.522 GB, free: 8.121 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004272/0.7767, allocations: 1.345 MB / 1.523 GB, free: 6.766 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/0.7785, allocations: 330.5 kB / 1.524 GB, free: 6.465 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007411/0.7859, allocations: 3.073 MB / 1.527 GB, free: 3.355 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007847/0.7867, allocations: 0.6062 MB / 1.527 GB, free: 2.711 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001909/0.7886, allocations: 492.8 kB / 1.528 GB, free: 2.227 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007164/0.7893, allocations: 167.3 kB / 1.528 GB, free: 2.062 MB / 1.217 GB Notification: Performance of SimCode: time 2.274e-06/0.7893, allocations: 0 / 1.528 GB, free: 2.062 MB / 1.217 GB Notification: Performance of Templates: time 0.04654/0.8359, allocations: 26.27 MB / 1.554 GB, free: 8.059 MB / 1.248 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 -s cvode -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/jenkins1/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.663784820004366]