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.001302/0.001302, allocations: 102.7 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.001371/0.001371, 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.418/1.418, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.052/3.052, allocations: 0.49 GB / 0.7916 GB, free: 33.51 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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_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.001913/0.001913, allocations: 76.77 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3549, allocations: 176.1 MB / 1.321 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.009299/0.3642, allocations: 6.287 MB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1922/0.5563, allocations: 155 MB / 1.478 GB, free: 1.492 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.5574, allocations: 31.75 kB / 1.478 GB, free: 1.461 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009052/0.5583, allocations: 237.8 kB / 1.479 GB, free: 1.227 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.5608, allocations: 0.7247 MB / 1.479 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002606/0.5634, allocations: 1.015 MB / 1.48 GB, free: 15.49 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002862/0.5663, allocations: 2.076 MB / 1.482 GB, free: 13.41 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.5674, allocations: 0.5871 MB / 1.483 GB, free: 12.79 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.5686, allocations: 0.7671 MB / 1.484 GB, free: 12.02 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.5699, allocations: 0.8131 MB / 1.484 GB, free: 11.2 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000434/0.5703, allocations: 196 kB / 1.485 GB, free: 11.01 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.5719, allocations: 0.7104 MB / 1.485 GB, free: 10.3 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005963/0.5725, allocations: 490.5 kB / 1.486 GB, free: 9.816 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00118/0.5737, allocations: 0.8631 MB / 1.487 GB, free: 8.949 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003645/0.5773, allocations: 2.526 MB / 1.489 GB, free: 6.414 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.5773, allocations: 3.938 kB / 1.489 GB, free: 6.41 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5773, allocations: 0 / 1.489 GB, free: 6.41 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.424e-05/0.5774, allocations: 4 kB / 1.489 GB, free: 6.406 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.004289/0.5817, allocations: 1.989 MB / 1.491 GB, free: 4.352 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.5818, allocations: 19.92 kB / 1.491 GB, free: 4.332 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002584/0.582, allocations: 202.7 kB / 1.491 GB, free: 4.125 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.5924, allocations: 1.381 MB / 1.493 GB, free: 2.742 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.5946, allocations: 1.075 MB / 1.494 GB, free: 1.625 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.5947, allocations: 102.7 kB / 1.494 GB, free: 1.523 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003705/0.595, allocations: 128 kB / 1.494 GB, free: 1.398 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006156/0.6012, allocations: 2.209 MB / 1.496 GB, free: 15.13 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.6012, allocations: 4 kB / 1.496 GB, free: 15.12 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002075/0.6014, allocations: 56 kB / 1.496 GB, free: 15.07 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/0.6015, allocations: 32 kB / 1.496 GB, free: 15.04 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008718/0.6102, allocations: 2.964 MB / 1.499 GB, free: 12.07 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01121/0.6214, allocations: 5.529 MB / 1.504 GB, free: 6.344 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009014/0.6304, allocations: 2.798 MB / 1.507 GB, free: 3.535 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003785/0.6342, allocations: 1.077 MB / 1.508 GB, free: 2.461 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006812/0.6349, allocations: 0.6143 MB / 1.509 GB, free: 1.715 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004229/0.6391, allocations: 1.457 MB / 1.51 GB, free: 248 kB / 1.201 GB Notification: Performance of pre-optimization done (n=133): time 3.316e-06/0.6391, allocations: 0 / 1.51 GB, free: 248 kB / 1.201 GB Notification: Performance of matching and sorting (n=133): time 0.01268/0.6518, allocations: 3.626 MB / 1.514 GB, free: 12.59 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.6519, allocations: 201.2 kB / 1.514 GB, free: 12.35 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.6534, allocations: 0.8413 MB / 1.515 GB, free: 11.5 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001685/0.6536, allocations: 53.7 kB / 1.515 GB, free: 11.44 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005518/0.6541, allocations: 0.5289 MB / 1.515 GB, free: 10.91 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005138/0.6546, allocations: 456.1 kB / 1.516 GB, free: 10.46 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005611/0.6552, allocations: 254.8 kB / 1.516 GB, free: 10.2 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.6554, allocations: 353.9 kB / 1.516 GB, free: 9.852 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003442/0.6588, allocations: 1.033 MB / 1.517 GB, free: 8.816 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003644/0.6625, allocations: 1.179 MB / 1.518 GB, free: 7.605 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0072/0.6697, allocations: 2.04 MB / 1.52 GB, free: 5.551 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/0.6697, allocations: 0 / 1.52 GB, free: 5.551 MB / 1.217 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.008343/0.678, allocations: 2.441 MB / 1.523 GB, free: 3.098 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.678, allocations: 7.938 kB / 1.523 GB, free: 3.09 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.678, allocations: 4 kB / 1.523 GB, free: 3.086 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006394/0.6787, allocations: 88.77 kB / 1.523 GB, free: 2.996 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/0.6812, allocations: 419.3 kB / 1.523 GB, free: 2.586 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002487/0.6836, allocations: 1.648 MB / 1.525 GB, free: 0.7969 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002524/0.6862, allocations: 291 kB / 1.525 GB, free: 0.5117 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/0.6864, allocations: 67.86 kB / 1.525 GB, free: 456 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: 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.0009209/0.6873, allocations: 349.1 kB / 1.526 GB, free: 96 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005097/0.6878, allocations: 127.2 kB / 1.526 GB, free: 15.96 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009365/0.6972, allocations: 2.872 MB / 1.529 GB, free: 13.08 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.6972, allocations: 19.94 kB / 1.529 GB, free: 13.06 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.6972, allocations: 0 / 1.529 GB, free: 13.06 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/0.6972, allocations: 7.969 kB / 1.529 GB, free: 13.05 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002897/0.7001, allocations: 1.847 MB / 1.53 GB, free: 11.15 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.7001, allocations: 4 kB / 1.53 GB, free: 11.15 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002423/0.7026, allocations: 411.4 kB / 1.531 GB, free: 10.75 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005031/0.7031, allocations: 80.72 kB / 1.531 GB, free: 10.66 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000229/0.7033, allocations: 51.94 kB / 1.531 GB, free: 10.61 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/0.7055, allocations: 1.67 MB / 1.532 GB, free: 8.801 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7055, allocations: 64 / 1.532 GB, free: 8.801 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008477/0.714, allocations: 2.584 MB / 1.535 GB, free: 6.191 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.715, allocations: 483.6 kB / 1.535 GB, free: 5.699 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003526/0.7154, allocations: 28 kB / 1.536 GB, free: 5.672 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002253/0.7176, allocations: 231.7 kB / 1.536 GB, free: 5.445 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000279/0.7179, allocations: 97.17 kB / 1.536 GB, free: 5.352 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/0.7181, allocations: 67.92 kB / 1.536 GB, free: 5.285 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001121/0.7192, allocations: 0.6044 MB / 1.536 GB, free: 4.688 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7192, allocations: 0 / 1.536 GB, free: 4.688 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001683/0.7209, allocations: 0.5145 MB / 1.537 GB, free: 4.172 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.011/0.7319, allocations: 3.686 MB / 1.541 GB, free: 0.6289 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.008021/0.7399, allocations: 2.445 MB / 1.543 GB, free: 14.17 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.7399, allocations: 0 / 1.543 GB, free: 14.17 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004113/0.744, allocations: 1.349 MB / 1.544 GB, free: 12.81 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.7459, allocations: 351.6 kB / 1.545 GB, free: 12.48 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03292/0.7789, allocations: 12.83 MB / 1.557 GB, free: 15.48 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.7801, allocations: 1.201 MB / 1.558 GB, free: 14.25 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001957/0.7821, allocations: 489.6 kB / 1.559 GB, free: 13.77 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/0.7834, allocations: 0.5812 MB / 1.559 GB, free: 13.19 MB / 1.264 GB Notification: Performance of SimCode: time 1.292e-06/0.7834, allocations: 4 kB / 1.559 GB, free: 13.18 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08471/0.8681, allocations: 33.73 MB / 1.592 GB, free: 11.73 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/14.78, allocations: 7.922 kB / 1.592 GB, free: 11.72 MB / 1.295 GB " [Timeout remaining time 285] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.HeatTransfer.Windows.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_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.csv","/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] "Error: Could not read variable fin.fraSun in file Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv. Warning: Get data of variable fin.fraSun from file Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv failed! Error: Could not read variable fin.HDirTilUns in file Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv. Warning: Get data of variable fin.HDirTilUns from file Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv failed! Error: Could not read variable fin.HDirTil in file Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv. Warning: Get data of variable fin.HDirTil from file Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.9575692799408]