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.001327/0.001327, allocations: 105.9 kB / 16.45 MB, free: 6.508 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.001429/0.001429, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.396/1.396, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.166/3.166, allocations: 0.505 GB / 0.8066 GB, free: 23.04 MB / 0.6231 GB " [Timeout remaining time 176] 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.002223/0.002223, allocations: 72.52 kB / 1.172 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3588, allocations: 180.2 MB / 1.348 GB, free: 9.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.009382/0.3681, allocations: 6.303 MB / 1.354 GB, free: 3.621 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1942/0.5624, allocations: 154.9 MB / 1.505 GB, free: 8.082 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.564, allocations: 27.75 kB / 1.505 GB, free: 8.055 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.5651, allocations: 241.7 kB / 1.505 GB, free: 7.816 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003084/0.5682, allocations: 0.7187 MB / 1.506 GB, free: 7.098 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002871/0.5711, allocations: 1.01 MB / 1.507 GB, free: 6.094 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002952/0.574, allocations: 2.076 MB / 1.509 GB, free: 4.012 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.5752, allocations: 0.5871 MB / 1.51 GB, free: 3.383 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.5765, allocations: 0.771 MB / 1.51 GB, free: 2.609 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.5775, allocations: 0.8131 MB / 1.511 GB, free: 1.793 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000246/0.5777, allocations: 192 kB / 1.511 GB, free: 1.605 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.5791, allocations: 0.722 MB / 1.512 GB, free: 0.8828 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004313/0.5795, allocations: 482.6 kB / 1.513 GB, free: 420 kB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008626/0.5804, allocations: 0.8631 MB / 1.513 GB, free: 15.54 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003229/0.5836, allocations: 2.538 MB / 1.516 GB, free: 13 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.5836, allocations: 4 kB / 1.516 GB, free: 12.99 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5836, allocations: 0 / 1.516 GB, free: 12.99 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.468e-05/0.5837, allocations: 0 / 1.516 GB, free: 12.99 MB / 1.217 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.004028/0.5877, allocations: 1.993 MB / 1.518 GB, free: 10.93 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.5877, allocations: 15.98 kB / 1.518 GB, free: 10.92 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002498/0.588, allocations: 194.7 kB / 1.518 GB, free: 10.72 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01789/0.6059, allocations: 1.993 MB / 1.52 GB, free: 8.723 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/0.6082, allocations: 1.098 MB / 1.521 GB, free: 7.582 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.6083, allocations: 106.7 kB / 1.521 GB, free: 7.477 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000292/0.6086, allocations: 124 kB / 1.521 GB, free: 7.355 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007922/0.6165, allocations: 2.506 MB / 1.524 GB, free: 4.789 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.6165, allocations: 0 / 1.524 GB, free: 4.789 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001985/0.6167, allocations: 56 kB / 1.524 GB, free: 4.734 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.762e-05/0.6167, allocations: 35.98 kB / 1.524 GB, free: 4.699 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01256/0.6293, allocations: 3.448 MB / 1.527 GB, free: 1.242 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/0.6431, allocations: 6.031 MB / 1.533 GB, free: 11.02 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01472/0.6578, allocations: 3.461 MB / 1.537 GB, free: 7.551 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005493/0.6633, allocations: 1.32 MB / 1.538 GB, free: 6.227 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006639/0.664, allocations: 0.6142 MB / 1.538 GB, free: 5.484 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006096/0.6701, allocations: 1.727 MB / 1.54 GB, free: 3.738 MB / 1.232 GB Notification: Performance of pre-optimization done (n=133): time 3.557e-06/0.6701, allocations: 0 / 1.54 GB, free: 3.738 MB / 1.232 GB Notification: Performance of matching and sorting (n=133): time 0.01865/0.6888, allocations: 4.332 MB / 1.544 GB, free: 15.38 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.6889, allocations: 201.2 kB / 1.545 GB, free: 15.14 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.6903, allocations: 0.8297 MB / 1.545 GB, free: 14.3 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0002199/0.6905, allocations: 53.7 kB / 1.545 GB, free: 14.24 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000532/0.6911, allocations: 0.5328 MB / 1.546 GB, free: 13.7 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005477/0.6916, allocations: 460.1 kB / 1.546 GB, free: 13.25 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006843/0.6923, allocations: 262.7 kB / 1.547 GB, free: 12.99 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.6925, allocations: 353.9 kB / 1.547 GB, free: 12.64 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005432/0.6979, allocations: 1.283 MB / 1.548 GB, free: 11.35 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005547/0.7034, allocations: 1.424 MB / 1.55 GB, free: 9.891 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/0.7138, allocations: 2.43 MB / 1.552 GB, free: 7.449 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.7138, allocations: 0 / 1.552 GB, free: 7.449 MB / 1.248 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01224/0.726, allocations: 2.893 MB / 1.555 GB, free: 4.543 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.7261, allocations: 6.188 kB / 1.555 GB, free: 4.539 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.7261, allocations: 3.938 kB / 1.555 GB, free: 4.535 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006203/0.7267, allocations: 88.83 kB / 1.555 GB, free: 4.445 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003509/0.7302, allocations: 0.507 MB / 1.555 GB, free: 3.938 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.7325, allocations: 1.654 MB / 1.557 GB, free: 2.137 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003315/0.7359, allocations: 368.9 kB / 1.557 GB, free: 1.777 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000252/0.7361, allocations: 63.92 kB / 1.557 GB, free: 1.715 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.0009055/0.737, allocations: 347.5 kB / 1.558 GB, free: 1.367 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004696/0.7375, allocations: 135.1 kB / 1.558 GB, free: 1.234 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/0.7514, allocations: 3.473 MB / 1.561 GB, free: 13.74 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.7515, allocations: 16 kB / 1.561 GB, free: 13.73 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.7515, allocations: 4 kB / 1.561 GB, free: 13.72 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.062e-05/0.7515, allocations: 7.969 kB / 1.561 GB, free: 13.71 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002929/0.7544, allocations: 2.001 MB / 1.563 GB, free: 11.66 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.7544, allocations: 0 / 1.563 GB, free: 11.66 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00342/0.7578, allocations: 0.4953 MB / 1.564 GB, free: 11.17 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004582/0.7583, allocations: 76.78 kB / 1.564 GB, free: 11.09 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001951/0.7585, allocations: 55.92 kB / 1.564 GB, free: 11.04 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.7606, allocations: 1.678 MB / 1.565 GB, free: 9.211 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7606, allocations: 0 / 1.565 GB, free: 9.211 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01317/0.7738, allocations: 3.025 MB / 1.568 GB, free: 6.16 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.7748, allocations: 499.6 kB / 1.569 GB, free: 5.652 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003846/0.7752, allocations: 35.92 kB / 1.569 GB, free: 5.617 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003182/0.7784, allocations: 307.5 kB / 1.569 GB, free: 5.316 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002412/0.7786, allocations: 101.2 kB / 1.569 GB, free: 5.219 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002148/0.7788, allocations: 75.91 kB / 1.569 GB, free: 5.145 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001041/0.7799, allocations: 0.6005 MB / 1.57 GB, free: 4.551 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7799, allocations: 0 / 1.57 GB, free: 4.551 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001584/0.7815, allocations: 0.5107 MB / 1.57 GB, free: 4.039 MB / 1.264 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.01474/0.7962, allocations: 4.111 MB / 1.574 GB, free: 76 kB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01211/0.8083, allocations: 2.941 MB / 1.577 GB, free: 13.12 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.8083, allocations: 7.984 kB / 1.577 GB, free: 13.11 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.006205/0.8145, allocations: 1.583 MB / 1.579 GB, free: 11.52 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/0.8164, allocations: 358.3 kB / 1.579 GB, free: 11.18 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04576/0.8621, allocations: 14.26 MB / 1.593 GB, free: 12.75 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/0.8636, allocations: 1.195 MB / 1.594 GB, free: 11.52 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002744/0.8663, allocations: 0.5639 MB / 1.595 GB, free: 10.95 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001684/0.868, allocations: 0.5929 MB / 1.595 GB, free: 10.36 MB / 1.295 GB Notification: Performance of SimCode: time 1.963e-06/0.868, allocations: 0 / 1.595 GB, free: 10.36 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7182/1.586, allocations: 35.28 MB / 1.63 GB, free: 251.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/15.53, allocations: 6.344 kB / 1.63 GB, free: 251.7 MB / 1.295 GB " [Timeout remaining time 284] (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: 22.37055274611339]