Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001699/0.001699, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002231/0.002231, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.941/2.941, allocations: 476.8 MB / 0.7707 GB, free: 4.227 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) [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.002056/0.002056, allocations: 68.8 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3624, allocations: 170 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.009122/0.3715, allocations: 5.94 MB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1948/0.5663, allocations: 154.8 MB / 1.44 GB, free: 10.3 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.5677, allocations: 23.81 kB / 1.44 GB, free: 10.27 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007654/0.5684, allocations: 229.8 kB / 1.441 GB, free: 10.05 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002637/0.5711, allocations: 0.6851 MB / 1.441 GB, free: 9.363 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002663/0.5737, allocations: 1.001 MB / 1.442 GB, free: 8.367 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002843/0.5766, allocations: 1.932 MB / 1.444 GB, free: 6.426 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009953/0.5776, allocations: 0.511 MB / 1.445 GB, free: 5.883 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.5788, allocations: 0.7126 MB / 1.445 GB, free: 5.168 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.5798, allocations: 0.753 MB / 1.446 GB, free: 4.414 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002461/0.5801, allocations: 164 kB / 1.446 GB, free: 4.254 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.5817, allocations: 0.6947 MB / 1.447 GB, free: 3.559 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004586/0.5822, allocations: 450.6 kB / 1.447 GB, free: 3.117 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0008374/0.583, allocations: 0.7851 MB / 1.448 GB, free: 2.328 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00316/0.5862, allocations: 2.27 MB / 1.45 GB, free: 52 kB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.5862, allocations: 0 / 1.45 GB, free: 52 kB / 1.139 GB Notification: Performance of FrontEnd: time 2.474e-06/0.5862, allocations: 7.938 kB / 1.45 GB, free: 44 kB / 1.139 GB Notification: Performance of Transformations before backend: time 2.644e-05/0.5862, allocations: 0 / 1.45 GB, free: 44 kB / 1.139 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.003898/0.5901, allocations: 1.818 MB / 1.452 GB, free: 14.18 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.5902, allocations: 12.03 kB / 1.452 GB, free: 14.16 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002325/0.5904, allocations: 185.9 kB / 1.452 GB, free: 13.97 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/0.6012, allocations: 1.377 MB / 1.454 GB, free: 12.59 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002316/0.6035, allocations: 0.9287 MB / 1.455 GB, free: 11.64 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-05/0.6036, allocations: 90.45 kB / 1.455 GB, free: 11.55 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/0.6038, allocations: 120 kB / 1.455 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005406/0.6092, allocations: 2.034 MB / 1.457 GB, free: 9.332 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.6093, allocations: 4 kB / 1.457 GB, free: 9.328 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.6094, allocations: 56 kB / 1.457 GB, free: 9.273 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/0.6095, allocations: 28 kB / 1.457 GB, free: 9.246 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008128/0.6176, allocations: 2.76 MB / 1.46 GB, free: 6.477 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01049/0.6281, allocations: 4.659 MB / 1.464 GB, free: 1.672 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00812/0.6362, allocations: 2.578 MB / 1.467 GB, free: 15.09 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003217/0.6394, allocations: 0.995 MB / 1.468 GB, free: 14.09 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003663/0.6398, allocations: 88.95 kB / 1.468 GB, free: 14.01 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003695/0.6435, allocations: 1.356 MB / 1.469 GB, free: 12.63 MB / 1.17 GB Notification: Performance of pre-optimization done (n=132): time 3.597e-06/0.6435, allocations: 0 / 1.469 GB, free: 12.63 MB / 1.17 GB Notification: Performance of matching and sorting (n=132): time 0.01129/0.6548, allocations: 3.312 MB / 1.472 GB, free: 9.312 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001529/0.6549, allocations: 197.2 kB / 1.472 GB, free: 9.074 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.6562, allocations: 0.7942 MB / 1.473 GB, free: 8.273 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001945/0.6564, allocations: 53.7 kB / 1.473 GB, free: 8.215 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000522/0.657, allocations: 493.7 kB / 1.474 GB, free: 7.727 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005036/0.6575, allocations: 464.1 kB / 1.474 GB, free: 7.27 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004912/0.6579, allocations: 250.8 kB / 1.474 GB, free: 7.02 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.6581, allocations: 349.9 kB / 1.475 GB, free: 6.672 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003074/0.6612, allocations: 0.9431 MB / 1.476 GB, free: 5.727 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003249/0.6644, allocations: 1.097 MB / 1.477 GB, free: 4.598 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005957/0.6704, allocations: 1.907 MB / 1.479 GB, free: 2.672 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.6704, allocations: 0 / 1.479 GB, free: 2.672 MB / 1.17 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007792/0.6782, allocations: 2.273 MB / 1.481 GB, free: 396 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.6782, allocations: 8 kB / 1.481 GB, free: 388 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.6783, allocations: 3.938 kB / 1.481 GB, free: 384 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000688/0.6789, allocations: 88.83 kB / 1.481 GB, free: 292 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/0.6814, allocations: 427.3 kB / 1.481 GB, free: 15.87 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.6837, allocations: 1.547 MB / 1.483 GB, free: 14.2 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/0.686, allocations: 282.9 kB / 1.483 GB, free: 13.92 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/0.6862, allocations: 55.94 kB / 1.483 GB, free: 13.87 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (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 (142): * Single equations (assignments): 141 * 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.0008092/0.687, allocations: 335.5 kB / 1.483 GB, free: 13.53 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003426/0.6873, allocations: 119.2 kB / 1.484 GB, free: 13.41 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008248/0.6956, allocations: 2.719 MB / 1.486 GB, free: 10.68 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.6956, allocations: 16 kB / 1.486 GB, free: 10.66 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.6956, allocations: 3.938 kB / 1.486 GB, free: 10.66 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/0.6956, allocations: 7.969 kB / 1.486 GB, free: 10.65 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.7067, allocations: 4.309 MB / 1.49 GB, free: 6.285 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.7067, allocations: 8 kB / 1.49 GB, free: 6.277 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002321/0.709, allocations: 411.4 kB / 1.491 GB, free: 5.875 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004819/0.7095, allocations: 76.78 kB / 1.491 GB, free: 5.797 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001713/0.7097, allocations: 47.94 kB / 1.491 GB, free: 5.75 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002309/0.712, allocations: 1.566 MB / 1.493 GB, free: 4.059 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.712, allocations: 0 / 1.493 GB, free: 4.059 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007936/0.7199, allocations: 2.498 MB / 1.495 GB, free: 1.539 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.721, allocations: 354.7 kB / 1.495 GB, free: 1.191 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003417/0.7213, allocations: 28 kB / 1.495 GB, free: 1.164 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002228/0.7236, allocations: 239 kB / 1.496 GB, free: 0.9336 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002915/0.7239, allocations: 117 kB / 1.496 GB, free: 0.8203 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001928/0.724, allocations: 59.94 kB / 1.496 GB, free: 0.7617 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001214/0.7253, allocations: 0.5732 MB / 1.496 GB, free: 200 kB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.7253, allocations: 0 / 1.496 GB, free: 200 kB / 1.186 GB Notification: Performance of remove unused functions: time 0.00205/0.7273, allocations: 0.4951 MB / 1.497 GB, free: 15.7 MB / 1.201 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.01063/0.7379, allocations: 3.596 MB / 1.5 GB, free: 12.25 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.007609/0.7456, allocations: 2.274 MB / 1.502 GB, free: 9.961 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.7456, allocations: 7.984 kB / 1.502 GB, free: 9.953 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003859/0.7494, allocations: 1.255 MB / 1.504 GB, free: 8.684 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.7515, allocations: 348.6 kB / 1.504 GB, free: 8.367 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03197/0.7834, allocations: 12.11 MB / 1.516 GB, free: 12.1 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/0.7846, allocations: 1.169 MB / 1.517 GB, free: 10.9 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001949/0.7866, allocations: 485.4 kB / 1.517 GB, free: 10.43 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/0.7879, allocations: 0.5499 MB / 1.518 GB, free: 9.875 MB / 1.217 GB Notification: Performance of SimCode: time 1.633e-06/0.7879, allocations: 0 / 1.518 GB, free: 9.875 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08254/0.8705, allocations: 33.12 MB / 1.55 GB, free: 9.008 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/16.35, allocations: 6.562 kB / 1.55 GB, free: 9.004 MB / 1.248 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 23.38784502499948]