Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001289/0.001289, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001427/0.001427, allocations: 212 kB / 22.24 MB, free: 5.262 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.395/1.395, allocations: 230.6 MB / 256 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.026/3.026, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_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.001946/0.001946, allocations: 63.33 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3458, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008529/0.3544, allocations: 5.619 MB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1657/0.52, allocations: 133.6 MB / 1.499 GB, free: 2.395 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.5211, allocations: 31.81 kB / 1.499 GB, free: 2.363 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008034/0.5219, allocations: 241.7 kB / 1.5 GB, free: 2.125 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002325/0.5242, allocations: 0.7235 MB / 1.5 GB, free: 1.402 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.5266, allocations: 1.019 MB / 1.501 GB, free: 400 kB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002513/0.5292, allocations: 2.08 MB / 1.503 GB, free: 14.3 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.5302, allocations: 0.5566 MB / 1.504 GB, free: 13.71 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.5314, allocations: 0.7671 MB / 1.505 GB, free: 12.94 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.5326, allocations: 0.7336 MB / 1.505 GB, free: 12.21 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004081/0.533, allocations: 203.9 kB / 1.505 GB, free: 12.01 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.5344, allocations: 0.6753 MB / 1.506 GB, free: 11.33 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005305/0.535, allocations: 486.6 kB / 1.507 GB, free: 10.86 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.536, allocations: 0.7 MB / 1.507 GB, free: 10.15 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003432/0.5394, allocations: 2.549 MB / 1.51 GB, free: 7.594 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5395, allocations: 4 kB / 1.51 GB, free: 7.59 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5395, allocations: 0 / 1.51 GB, free: 7.59 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.406e-05/0.5395, allocations: 0 / 1.51 GB, free: 7.59 MB / 1.201 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.003527/0.543, allocations: 1.917 MB / 1.512 GB, free: 5.625 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.5431, allocations: 8.031 kB / 1.512 GB, free: 5.617 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002433/0.5433, allocations: 198.7 kB / 1.512 GB, free: 5.414 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01596/0.5593, allocations: 1.989 MB / 1.514 GB, free: 3.422 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002393/0.5617, allocations: 1.026 MB / 1.515 GB, free: 2.367 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.5618, allocations: 110.6 kB / 1.515 GB, free: 2.258 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003389/0.5621, allocations: 128 kB / 1.515 GB, free: 2.133 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00761/0.5697, allocations: 2.76 MB / 1.518 GB, free: 15.25 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/0.5698, allocations: 0 / 1.518 GB, free: 15.25 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/0.57, allocations: 52 kB / 1.518 GB, free: 15.2 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.883e-05/0.57, allocations: 32 kB / 1.518 GB, free: 15.17 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01145/0.5814, allocations: 3.397 MB / 1.521 GB, free: 11.76 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01255/0.594, allocations: 4.983 MB / 1.526 GB, free: 6.703 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0135/0.6075, allocations: 3.46 MB / 1.529 GB, free: 3.242 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005065/0.6126, allocations: 1.324 MB / 1.531 GB, free: 1.914 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003351/0.6129, allocations: 77.23 kB / 1.531 GB, free: 1.84 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005811/0.6187, allocations: 1.827 MB / 1.532 GB, free: 15.97 MB / 1.232 GB Notification: Performance of pre-optimization done (n=133): time 4.218e-06/0.6187, allocations: 0 / 1.532 GB, free: 15.97 MB / 1.232 GB Notification: Performance of matching and sorting (n=133): time 0.01665/0.6354, allocations: 4.252 MB / 1.537 GB, free: 11.7 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.6355, allocations: 197.2 kB / 1.537 GB, free: 11.47 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.6367, allocations: 0.8413 MB / 1.538 GB, free: 10.61 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001632/0.6369, allocations: 45.7 kB / 1.538 GB, free: 10.56 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004757/0.6374, allocations: 0.5367 MB / 1.538 GB, free: 10.02 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004619/0.6378, allocations: 452.3 kB / 1.539 GB, free: 9.574 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005501/0.6384, allocations: 270.7 kB / 1.539 GB, free: 9.305 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.6386, allocations: 353.9 kB / 1.539 GB, free: 8.953 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00496/0.6435, allocations: 1.275 MB / 1.541 GB, free: 7.676 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005292/0.6488, allocations: 1.575 MB / 1.542 GB, free: 6.027 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009528/0.6583, allocations: 2.43 MB / 1.544 GB, free: 3.582 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.6583, allocations: 0 / 1.544 GB, free: 3.582 MB / 1.232 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01097/0.6693, allocations: 2.893 MB / 1.547 GB, free: 0.6758 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.6693, allocations: 4 kB / 1.547 GB, free: 0.6719 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.6693, allocations: 4 kB / 1.547 GB, free: 0.668 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005657/0.6699, allocations: 84.83 kB / 1.547 GB, free: 0.582 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003222/0.6731, allocations: 0.5108 MB / 1.548 GB, free: 72 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.6752, allocations: 1.535 MB / 1.549 GB, free: 14.41 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002966/0.6782, allocations: 366.9 kB / 1.55 GB, free: 14.05 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.6783, allocations: 63.92 kB / 1.55 GB, free: 13.99 MB / 1.248 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.0007582/0.6791, allocations: 363.2 kB / 1.55 GB, free: 13.63 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003821/0.6795, allocations: 127.1 kB / 1.55 GB, free: 13.5 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/0.692, allocations: 3.481 MB / 1.554 GB, free: 10.01 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.692, allocations: 16 kB / 1.554 GB, free: 9.996 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.692, allocations: 0 / 1.554 GB, free: 9.996 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.692, allocations: 7.969 kB / 1.554 GB, free: 9.988 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002467/0.6945, allocations: 1.595 MB / 1.555 GB, free: 8.348 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.6945, allocations: 0 / 1.555 GB, free: 8.348 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003137/0.6976, allocations: 0.4953 MB / 1.556 GB, free: 7.852 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004405/0.6981, allocations: 80.72 kB / 1.556 GB, free: 7.77 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/0.6983, allocations: 55.92 kB / 1.556 GB, free: 7.715 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.7003, allocations: 1.574 MB / 1.557 GB, free: 6.023 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.7003, allocations: 0 / 1.557 GB, free: 6.023 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/0.7119, allocations: 3.025 MB / 1.56 GB, free: 2.969 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/0.7132, allocations: 418.5 kB / 1.561 GB, free: 2.559 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003968/0.7136, allocations: 32.06 kB / 1.561 GB, free: 2.527 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002981/0.7166, allocations: 317.9 kB / 1.561 GB, free: 2.219 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/0.7169, allocations: 109.1 kB / 1.561 GB, free: 2.113 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001897/0.717, allocations: 63.92 kB / 1.561 GB, free: 2.051 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009808/0.718, allocations: 0.6083 MB / 1.562 GB, free: 1.445 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.718, allocations: 0 / 1.562 GB, free: 1.445 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001509/0.7195, allocations: 0.5106 MB / 1.562 GB, free: 0.9336 MB / 1.248 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 (146): * Single equations (assignments): 139 * 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.01378/0.7333, allocations: 4.135 MB / 1.566 GB, free: 12.97 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01099/0.7443, allocations: 2.941 MB / 1.569 GB, free: 10.02 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7443, allocations: 0 / 1.569 GB, free: 10.02 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.005612/0.7499, allocations: 1.591 MB / 1.571 GB, free: 8.414 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/0.7518, allocations: 362.5 kB / 1.571 GB, free: 8.082 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04214/0.7939, allocations: 14.27 MB / 1.585 GB, free: 9.641 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007937/0.7947, allocations: 0.6046 MB / 1.586 GB, free: 9.008 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002348/0.7971, allocations: 0.556 MB / 1.586 GB, free: 8.453 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/0.7984, allocations: 0.5968 MB / 1.587 GB, free: 7.855 MB / 1.279 GB Notification: Performance of SimCode: time 6.61e-07/0.7984, allocations: 0 / 1.587 GB, free: 7.855 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6625/1.461, allocations: 37.71 MB / 1.624 GB, free: 241.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/15, allocations: 7.172 kB / 1.624 GB, free: 241.6 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv --start-time 0 --stop-time 86400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv. Warning: Get data of variable fin.fraSun from file Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv failed! Error: Could not read variable fin.HDirTilUns in file Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv. Warning: Get data of variable fin.HDirTilUns from file Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv failed! Error: Could not read variable fin.HDirTil in file Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv. Warning: Get data of variable fin.HDirTil from file Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.5019393931143]