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.001269/0.001269, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001375/0.001375, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.389/3.389, allocations: 0.49 GB / 0.7959 GB, free: 33.45 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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="cs",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.002089/0.002089, allocations: 60.59 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.399, allocations: 176.1 MB / 1.327 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.01002/0.409, allocations: 6.352 MB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2032/0.6122, allocations: 155.1 MB / 1.484 GB, free: 15.92 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.6135, allocations: 31.75 kB / 1.484 GB, free: 15.89 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008052/0.6143, allocations: 241.8 kB / 1.485 GB, free: 15.65 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002586/0.6169, allocations: 0.7233 MB / 1.485 GB, free: 14.93 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.6196, allocations: 1.028 MB / 1.486 GB, free: 13.9 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002934/0.6225, allocations: 2.091 MB / 1.488 GB, free: 11.8 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.6237, allocations: 0.5801 MB / 1.489 GB, free: 11.19 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.6252, allocations: 0.771 MB / 1.49 GB, free: 10.41 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.6264, allocations: 0.8131 MB / 1.49 GB, free: 9.598 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002803/0.6267, allocations: 196 kB / 1.491 GB, free: 9.406 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.6283, allocations: 0.7143 MB / 1.491 GB, free: 8.691 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004735/0.6287, allocations: 486.6 kB / 1.492 GB, free: 8.215 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009168/0.6296, allocations: 0.867 MB / 1.493 GB, free: 7.344 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003692/0.6333, allocations: 2.53 MB / 1.495 GB, free: 4.805 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.6333, allocations: 0 / 1.495 GB, free: 4.805 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6333, allocations: 0 / 1.495 GB, free: 4.805 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.992e-05/0.6334, allocations: 3.984 kB / 1.495 GB, free: 4.801 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.00412/0.6375, allocations: 1.922 MB / 1.497 GB, free: 2.832 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.6375, allocations: 12.03 kB / 1.497 GB, free: 2.82 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.791e-05/0.6376, allocations: 34.86 kB / 1.497 GB, free: 2.785 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002459/0.6378, allocations: 202.7 kB / 1.497 GB, free: 2.578 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/0.6486, allocations: 1.377 MB / 1.499 GB, free: 1.199 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002959/0.6516, allocations: 1.003 MB / 1.5 GB, free: 172 kB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.6517, allocations: 102.7 kB / 1.5 GB, free: 68 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003018/0.652, allocations: 132 kB / 1.5 GB, free: 15.93 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006505/0.6585, allocations: 2.209 MB / 1.502 GB, free: 13.67 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.6585, allocations: 0 / 1.502 GB, free: 13.67 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/0.6587, allocations: 60 kB / 1.502 GB, free: 13.61 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/0.6588, allocations: 32 kB / 1.502 GB, free: 13.58 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008835/0.6676, allocations: 2.964 MB / 1.505 GB, free: 10.61 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01134/0.6789, allocations: 5.466 MB / 1.51 GB, free: 4.953 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009178/0.6881, allocations: 2.802 MB / 1.513 GB, free: 2.148 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003673/0.6918, allocations: 1.071 MB / 1.514 GB, free: 1.074 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003885/0.6922, allocations: 97.27 kB / 1.514 GB, free: 0.9766 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004263/0.6964, allocations: 1.446 MB / 1.515 GB, free: 15.51 MB / 1.217 GB Notification: Performance of pre-optimization done (n=133): time 3.547e-06/0.6964, allocations: 4 kB / 1.516 GB, free: 15.5 MB / 1.217 GB Notification: Performance of matching and sorting (n=133): time 0.01295/0.7094, allocations: 3.558 MB / 1.519 GB, free: 11.94 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.7095, allocations: 193.2 kB / 1.519 GB, free: 11.7 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.7109, allocations: 0.8413 MB / 1.52 GB, free: 10.85 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000272/0.7112, allocations: 49.7 kB / 1.52 GB, free: 10.8 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005239/0.7117, allocations: 0.5367 MB / 1.521 GB, free: 10.25 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005399/0.7123, allocations: 452.1 kB / 1.521 GB, free: 9.812 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005391/0.7128, allocations: 254.8 kB / 1.521 GB, free: 9.559 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.713, allocations: 349.9 kB / 1.522 GB, free: 9.211 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003452/0.7164, allocations: 1.033 MB / 1.523 GB, free: 8.176 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00368/0.7201, allocations: 1.19 MB / 1.524 GB, free: 6.957 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007018/0.7271, allocations: 2.032 MB / 1.526 GB, free: 4.906 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.7272, allocations: 0 / 1.526 GB, free: 4.906 MB / 1.217 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.008508/0.7357, allocations: 2.441 MB / 1.528 GB, free: 2.453 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.7357, allocations: 7.984 kB / 1.528 GB, free: 2.445 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.7357, allocations: 4 kB / 1.528 GB, free: 2.441 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000625/0.7363, allocations: 84.78 kB / 1.528 GB, free: 2.355 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002653/0.739, allocations: 419.3 kB / 1.529 GB, free: 1.945 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/0.7413, allocations: 1.554 MB / 1.53 GB, free: 276 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/0.7438, allocations: 290.9 kB / 1.53 GB, free: 15.98 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/0.744, allocations: 55.94 kB / 1.53 GB, free: 15.93 MB / 1.232 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 (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 (143): * Single equations (assignments): 142 * 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.0008706/0.7449, allocations: 351.9 kB / 1.531 GB, free: 15.58 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/0.7452, allocations: 123.1 kB / 1.531 GB, free: 15.46 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00927/0.7545, allocations: 2.88 MB / 1.534 GB, free: 12.56 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.7545, allocations: 12 kB / 1.534 GB, free: 12.55 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.7545, allocations: 0 / 1.534 GB, free: 12.55 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.7546, allocations: 7.969 kB / 1.534 GB, free: 12.54 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/0.7573, allocations: 1.819 MB / 1.536 GB, free: 10.68 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.7573, allocations: 0 / 1.536 GB, free: 10.68 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002497/0.7598, allocations: 415.3 kB / 1.536 GB, free: 10.27 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004973/0.7603, allocations: 72.78 kB / 1.536 GB, free: 10.2 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/0.7605, allocations: 51.94 kB / 1.536 GB, free: 10.14 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.7626, allocations: 1.578 MB / 1.538 GB, free: 8.449 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7626, allocations: 0 / 1.538 GB, free: 8.449 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008614/0.7712, allocations: 2.581 MB / 1.54 GB, free: 5.844 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/0.7724, allocations: 398.6 kB / 1.54 GB, free: 5.453 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003152/0.7727, allocations: 35.98 kB / 1.54 GB, free: 5.418 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002212/0.7749, allocations: 225.8 kB / 1.541 GB, free: 5.199 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/0.7751, allocations: 113.1 kB / 1.541 GB, free: 5.09 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/0.7753, allocations: 59.94 kB / 1.541 GB, free: 5.031 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009521/0.7763, allocations: 0.6044 MB / 1.541 GB, free: 4.434 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7763, allocations: 4 kB / 1.541 GB, free: 4.43 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001484/0.7778, allocations: 0.5183 MB / 1.542 GB, free: 3.91 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.01106/0.7888, allocations: 3.691 MB / 1.546 GB, free: 384 kB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.008302/0.7971, allocations: 2.453 MB / 1.548 GB, free: 13.91 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.7971, allocations: 0 / 1.548 GB, free: 13.91 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004329/0.8014, allocations: 1.349 MB / 1.549 GB, free: 12.55 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.8032, allocations: 357.5 kB / 1.55 GB, free: 12.21 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03372/0.837, allocations: 12.83 MB / 1.562 GB, free: 15.21 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/0.8382, allocations: 1.191 MB / 1.563 GB, free: 13.98 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00214/0.8403, allocations: 497.6 kB / 1.564 GB, free: 13.5 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/0.8417, allocations: 0.5929 MB / 1.564 GB, free: 12.9 MB / 1.264 GB Notification: Performance of SimCode: time 1.072e-06/0.8417, allocations: 0 / 1.564 GB, free: 12.9 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0814/0.9231, allocations: 34.73 MB / 1.598 GB, free: 10.44 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.75/16.67, allocations: 9.172 kB / 1.598 GB, free: 10.43 MB / 1.295 GB " [Timeout remaining time 283] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 420.0] 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: 24.78919446200598]